summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2004-08-19 17:38:47 +0000
committerandre <andre@FreeBSD.org>2004-08-19 17:38:47 +0000
commit14296889b232e65933cc0f2512e877cc0019382b (patch)
tree8065150f543604d3417ed36a27c7c6086dbba1b2 /sys/netinet/ip_fw.h
parent5aee38d3218bbca30bf0849fb7e072f5b4ff5935 (diff)
downloadFreeBSD-src-14296889b232e65933cc0f2512e877cc0019382b.zip
FreeBSD-src-14296889b232e65933cc0f2512e877cc0019382b.tar.gz
Bring back the sysctl 'net.inet.ip.fw.enable' to unbreak the startup scripts
and to be able to disable ipfw if it was compiled directly into the kernel.
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index add5289..0229a22 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -448,6 +448,7 @@ void flush_pipe_ptrs(struct dn_flow_set *match); /* used by dummynet */
typedef int ip_fw_ctl_t(struct sockopt *);
extern ip_fw_ctl_t *ip_fw_ctl_ptr;
extern int fw_one_pass;
+extern int fw_enable;
/* For kernel ipfw_ether and ipfw_bridge. */
typedef int ip_fw_chk_t(struct ip_fw_args *args);
OpenPOWER on IntegriCloud