On 25 October 2016 at 19:25, Alexander Bluhm <[email protected]> wrote:
> Hi,
>
> On my test machine I have added a vether0 with a /32 IPv4 address.
> Since then the regress/sbin/pfctl pfi2 test fails.
>
> vether0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         ...
>         inet 10.188.80.21 netmask 0xffffffff
>
> The test basically does this:
>         echo "pass in from self:broadcast" | pfctl -o none -nvf-
> The result contains this rule:
>         pass in inet from 0.0.0.0 to any flags S/SA
>
> The kernel view of (self:broadcast) does not contain the line with
> 0.0.0.0 so the test fails.
>
> ifconfig checks wether a broadcast address is 0 before printing it.
> I think pfctl should do the same check to find valid broadcast
> addresses.
>
> ok?
>
> bluhm
>

LGTM, OK mikeb

Reply via email to