summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2002-11-08 23:33:59 +0000
committerSam Leffler <sam@FreeBSD.org>2002-11-08 23:33:59 +0000
commit58fcadfc0f84c593801d42cdfdaacb5782e4b994 (patch)
treeeb7e422833b47b66d4d3ca4e52e9da0d8bc5b3ef /sys/netinet/tcp_input.c
parentab94ca3cec4301c7f9bf8aee7ab2a8850ed63179 (diff)
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 32567ca96c73..29e36c678018 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -574,11 +574,14 @@ findpcb:
}
#endif
#ifdef FAST_IPSEC
+#ifdef INET6
if (isipv6) {
if (inp != NULL && ipsec6_in_reject(m, inp)) {
goto drop;
}
- } else if (inp != NULL && ipsec4_in_reject(m, inp)) {
+ } else
+#endif
+ if (inp != NULL && ipsec4_in_reject(m, inp)) {
goto drop;
}
#endif /*FAST_IPSEC*/