diff options
author | luigi <luigi@FreeBSD.org> | 2002-11-20 19:07:27 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-11-20 19:07:27 +0000 |
commit | f51d989644b3566d5b14fe4d8f07af5dac3332cb (patch) | |
tree | 5dcb511575a14bf6a568df44e4233416ab5aa5e3 /sys/netinet | |
parent | abbf6b609086058fb129298ed714994d1236fdee (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/netinet/ip_fw2.c | 1 | ||||
-rw-r--r-- | sys/netinet/ip_input.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 6241d2b..46b8ba8 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -107,7 +107,6 @@ static struct ip_fw *layer3_chain; MALLOC_DEFINE(M_IPFW, "IpFw/IpAcct", "IpFw/IpAcct chain's"); static int fw_debug = 1; -int fw_one_pass = 1; static int autoinc_step = 100; /* bounded to 1..1000 in add_rule() */ #ifdef SYSCTL_NODE 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; |