ipfw build error with WITHOUT_PF (pfvar.h)

Gleb Smirnoff glebius at FreeBSD.org
Sat Nov 23 08:12:41 UTC 2013


  Andrey,

On Sat, Nov 23, 2013 at 12:07:35PM +0400, Andrey Chernov wrote:
A> There is a problem in recent -current to build ipfw with WITHOUT_PF
A> option, introduced in r257215. altq.c file produce error due to included
A> <net/pfvar.h> have following includes
A> 
A> #include <netpfil/pf/pf.h>
A> #include <netpfil/pf/pf_altq.h>
A> #include <netpfil/pf/pf_mtag.h>
A> 
A> and netpfil/pf directory is empty in
A> /usr/src/include/Makefile with WITHOUT_PF option.

The quick solution would be to make ipfw lose some functionality if
PF is cut away from system.

The proper solution would be to make ALTQ configurable w/o pfctl.

-- 
Totus tuus, Glebius.


More information about the freebsd-current mailing list