diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bridge.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/bridge.c b/sys/net/bridge.c index 64f6aad..c61deaf 100644 --- a/sys/net/bridge.c +++ b/sys/net/bridge.c @@ -95,7 +95,7 @@ #include "opt_ipfw.h" #include "opt_ipdn.h" -#if defined(IPFIREWALL) && defined(DUMMYNET) +#if defined(DUMMYNET) #include <net/route.h> #include <netinet/ip_fw.h> #include <netinet/ip_dummynet.h> @@ -480,7 +480,6 @@ bdg_forward (struct mbuf **m0, struct ifnet *dst) ifp = dst ; once = 1 ; /* and also canfree */ } -#ifdef IPFIREWALL /* * do filtering in a very similar way to what is done * in ip_output. Only for IP packets, and only pass/fail/dummynet @@ -582,7 +581,6 @@ bdg_forward (struct mbuf **m0, struct ifnet *dst) return 0 ; } forward: -#endif /* COMPAT_IPFW */ if (canfree && once) m = *m0 ; else |