CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2012/02/02 18:57:51

Modified files:
        sys/net        : if_pflog.c if_pfsync.c pf.c pf_lb.c pf_norm.c 
                         pfvar.h 

Log message:
The kernel did not compile without INET6.  Put some #ifdefs into
pf to fix that.
- add #ifdef INET6 in obvious places
- af translation is only possible with both INET and INET6
- interleave #endif /* INET6 */ and closing brace correctly
- it is not necessary to #ifdef function prototypes
- do not compile af translate functions at all instead of empty stub,
then the linker will report inconsistencies
- pf_poolmask() actually takes an sa_family_t not an u_int8_t argument
No binary change for GENERIC compiled with -O2 and -UDIAGNOSTIC.
reported by Olivier Cochard-Labbe; ok mikeb@ henning@

Reply via email to