NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/39007: Missing ifdef INET6 in pf_ioctl.c

>Number:         39007
>Category:       kern
>Synopsis:       pf_ioctl.c always declares pfil6_wrapper, even if no IPv6 is 
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 21 16:20:00 +0000 2008
>Originator:     Scott Ellis
>Release:        NetBSD 4.99.66
System: NetBSD intrepid 4.99.66 NetBSD 4.99.66 (INTREPID.P5W) #0: Sat Jun 21 
08:40:53 PDT 2008 
Architecture: x86_64
Machine: amd64
With the update of PF to 4.2, building kernels that include PF, but not IPv6
fails, because pfil6_wrapper() is defined but not used in 
sys/dist/pf/net/pf_ioctl.c .

Build kernel w/o IPv6, but with PF
Wrap function prototype in #ifdef


Home | Main Index | Thread Index | Old Index