diff options
author | luigi <luigi@FreeBSD.org> | 2000-02-10 17:56:01 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2000-02-10 17:56:01 +0000 |
commit | ca6bc8a505ef28bf23c51720be7efccdec424c56 (patch) | |
tree | c69b7956e9df06e3b7760366ce15844f498d8c24 | |
parent | 7257b4f371504caaff234cb6801d37fb6458a822 (diff) | |
download | FreeBSD-src-ca6bc8a505ef28bf23c51720be7efccdec424c56.zip FreeBSD-src-ca6bc8a505ef28bf23c51720be7efccdec424c56.tar.gz |
Move definition of fw_enable from ip_fw.c to ip_input.c
so we can compile kernels without IPFIREWALL .
Reported-by: Robert Watson
Approved-by: jordan
-rw-r--r-- | sys/netinet/ip_fw.c | 1 | ||||
-rw-r--r-- | sys/netinet/ip_input.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c index 4d43433..b2f5aed 100644 --- a/sys/netinet/ip_fw.c +++ b/sys/netinet/ip_fw.c @@ -73,7 +73,6 @@ static int fw_verbose = 1; static int fw_verbose = 0; #endif int fw_one_pass = 1 ; -int fw_enable = 1 ; #ifdef IPFIREWALL_VERBOSE_LIMIT static int fw_verbose_limit = IPFIREWALL_VERBOSE_LIMIT; #else diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 2450a1d..b1eb90d 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -174,6 +174,7 @@ SYSCTL_INT(_net_inet_ip, OID_AUTO, stealth, CTLFLAG_RW, /* Firewall hooks */ ip_fw_chk_t *ip_fw_chk_ptr; ip_fw_ctl_t *ip_fw_ctl_ptr; +int fw_enable = 1 ; #ifdef DUMMYNET ip_dn_ctl_t *ip_dn_ctl_ptr; |