]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r259916:
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 16 Aug 2014 13:20:44 +0000 (13:20 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 16 Aug 2014 13:20:44 +0000 (13:20 +0000)
commit05c157bf530b973d7d0afc957f87f5aadb52fb4e
tree1aa51c1ccae4bbadb85f212b4553618e08047ded
parent73f464f6d4a3b2a77007ce1aeb723b968d7500c8
MFC r259916:

 Use feature_present(3) to determine whether to open an INET or an
 INET6 socket when needed to allow pfctl to work on noinet and noinet6
 kernels (and try to provide a fallback using AF_LINK as best effort).
 Adjust the Makefile to also respect relevant src.conf(5) options
 for compile time decisions on INET and INET6 support.

 Reviewed by: glebius (no objections)

git-svn-id: svn://svn.freebsd.org/base/stable/10@270047 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/pfctl/Makefile
sbin/pfctl/pfctl_altq.c
sbin/pfctl/pfctl_parser.c
sbin/pfctl/pfctl_parser.h