summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_reass.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2007-03-21 18:56:03 +0000
committerandre <andre@FreeBSD.org>2007-03-21 18:56:03 +0000
commit8bf685df5173ea73a6f2755a9fb5ca54bc66ae72 (patch)
treeb9ffd9e1baa054aac4ade13559da83b23441d6d9 /sys/netinet/tcp_reass.c
parentf79b08ac22b1c23e3617210f9ed7cf2f3a45cb2f (diff)
downloadFreeBSD-src-8bf685df5173ea73a6f2755a9fb5ca54bc66ae72.zip
FreeBSD-src-8bf685df5173ea73a6f2755a9fb5ca54bc66ae72.tar.gz
Tidy up IPFIREWALL_FORWARD sections and comments.
Diffstat (limited to 'sys/netinet/tcp_reass.c')
-rw-r--r--sys/netinet/tcp_reass.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index b537793..e6a78bf 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -30,7 +30,7 @@
* $FreeBSD$
*/
-#include "opt_ipfw.h" /* for ipfw_fwd */
+#include "opt_ipfw.h" /* for ipfw_fwd */
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipsec.h"
@@ -657,8 +657,9 @@ findpcb:
}
/* Remove the tag from the packet. We don't need it anymore. */
m_tag_delete(m, fwd_tag);
- } else {
+ } else
#endif /* IPFIREWALL_FORWARD */
+ {
if (isipv6) {
#ifdef INET6
inp = in6_pcblookup_hash(&tcbinfo,
@@ -673,9 +674,7 @@ findpcb:
ip->ip_dst, th->th_dport,
INPLOOKUP_WILDCARD,
m->m_pkthdr.rcvif);
-#ifdef IPFIREWALL_FORWARD
}
-#endif /* IPFIREWALL_FORWARD */
#if defined(IPSEC) || defined(FAST_IPSEC)
#ifdef INET6
OpenPOWER on IntegriCloud