diff options
author | sam <sam@FreeBSD.org> | 2002-11-10 17:17:32 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2002-11-10 17:17:32 +0000 |
commit | 1ff96af1eab5b5285540c2bb95862f1687e10252 (patch) | |
tree | 4b08d1f7fcc8da87d5ab271a2deebfbd261d6e9a | |
parent | 4ae3d74b875ca71ef75824f3ec665633cb8af26d (diff) | |
download | FreeBSD-src-1ff96af1eab5b5285540c2bb95862f1687e10252.zip FreeBSD-src-1ff96af1eab5b5285540c2bb95862f1687e10252.tar.gz |
a better solution to building FAST_IPSEC w/o INET6
Submitted by: Jeffrey Hsu <hsu@FreeBSD.org>
-rw-r--r-- | sys/netinet/tcp_input.c | 4 | ||||
-rw-r--r-- | sys/netinet/tcp_reass.c | 4 |
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; } |