tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "npfctl validate" error non-message
Hauke Fath <hf%spg.tu-darmstadt.de@localhost> wrote:
> On 01/14/17 14:13, Hauke Fath wrote:
> > # npfctl validate /etc/npf.conf
> > npfctl: address family mismatch
> > #
>
> FTR, instead of
>
> pass in proto udp from any port bootpc to $if port bootps
>
> I needed to declare
>
> pass in proto udp from any port bootpc to inet4($if) port bootps
>
It is because of the IPv4 and IPv6 address mixing. The byte-code generator
could be a bit more clever and actually handle this.. I just have not had
time to improve it yet.
--
Mindaugas
Home |
Main Index |
Thread Index |
Old Index