summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2002-11-20 19:07:27 +0000
committerluigi <luigi@FreeBSD.org>2002-11-20 19:07:27 +0000
commitf51d989644b3566d5b14fe4d8f07af5dac3332cb (patch)
tree5dcb511575a14bf6a568df44e4233416ab5aa5e3 /sys/netinet/ip_input.c
parentabbf6b609086058fb129298ed714994d1236fdee (diff)
downloadFreeBSD-src-f51d989644b3566d5b14fe4d8f07af5dac3332cb.zip
FreeBSD-src-f51d989644b3566d5b14fe4d8f07af5dac3332cb.tar.gz
Move fw_one_pass from ip_fw2.c to ip_input.c so that neither
bridge.c nor if_ethersubr.c depend on IPFIREWALL. Restore the use of fw_one_pass in if_ethersubr.c ipfw.8 will be updated with a separate commit. Approved by: re
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 1c2863b..90f54e0 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -195,6 +195,7 @@ SYSCTL_INT(_net_inet_ip, OID_AUTO, stealth, CTLFLAG_RW,
/* Firewall hooks */
ip_fw_chk_t *ip_fw_chk_ptr;
int fw_enable = 1 ;
+int fw_one_pass = 1;
/* Dummynet hooks */
ip_dn_io_t *ip_dn_io_ptr;
OpenPOWER on IntegriCloud