summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2006-05-12 04:41:27 +0000
committermlaier <mlaier@FreeBSD.org>2006-05-12 04:41:27 +0000
commit95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2 (patch)
tree8c7da3df3d9265ef97f64e2b6617e900ce33f24e /sys/netinet/ip_input.c
parentc44b3e762ea073484239a80b3968a71c3d903f4f (diff)
downloadFreeBSD-src-95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2.zip
FreeBSD-src-95826ec6b414b9b651fe4cf4b08cf9e0e16a11f2.tar.gz
Reintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing
seperately. Also use pfil hook/unhook instead of keeping the check functions in pfil just to return there based on the sysctl. While here fix some whitespace on a nearby SYSCTL_ macro.
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index f3e477f..a860074 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -198,7 +198,6 @@ SYSCTL_INT(_net_inet_ip, OID_AUTO, stealth, CTLFLAG_RW,
*/
ip_fw_chk_t *ip_fw_chk_ptr = NULL;
ip_dn_io_t *ip_dn_io_ptr = NULL;
-int fw_enable = 1;
int fw_one_pass = 1;
static void ip_freef(struct ipqhead *, struct ipq *);
OpenPOWER on IntegriCloud