summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/tcp_input.c4
-rw-r--r--sys/netinet/tcp_reass.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 29e36c6..110a870 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -86,9 +86,7 @@
#ifdef FAST_IPSEC
#include <netipsec/ipsec.h>
-#ifdef INET6
#include <netipsec/ipsec6.h>
-#endif
#endif /*FAST_IPSEC*/
#ifdef IPSEC
@@ -574,13 +572,11 @@ findpcb:
}
#endif
#ifdef FAST_IPSEC
-#ifdef INET6
if (isipv6) {
if (inp != NULL && ipsec6_in_reject(m, inp)) {
goto drop;
}
} else
-#endif
if (inp != NULL && ipsec4_in_reject(m, inp)) {
goto drop;
}
diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c
index 29e36c6..110a870 100644
--- a/sys/netinet/tcp_reass.c
+++ b/sys/netinet/tcp_reass.c
@@ -86,9 +86,7 @@
#ifdef FAST_IPSEC
#include <netipsec/ipsec.h>
-#ifdef INET6
#include <netipsec/ipsec6.h>
-#endif
#endif /*FAST_IPSEC*/
#ifdef IPSEC
@@ -574,13 +572,11 @@ findpcb:
}
#endif
#ifdef FAST_IPSEC
-#ifdef INET6
if (isipv6) {
if (inp != NULL && ipsec6_in_reject(m, inp)) {
goto drop;
}
} else
-#endif
if (inp != NULL && ipsec4_in_reject(m, inp)) {
goto drop;
}
OpenPOWER on IntegriCloud