summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-02-09 16:02:16 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-02-09 16:02:16 +0000
commit0f36f0e84a42fcbcfc61a99f919bc9e41934fbfa (patch)
tree9ffcc1ef9969a94d509b5c52efbe558368c55034
parent5e0eb6243d87a391049ea614712ab7cac75baa14 (diff)
Notes
-rw-r--r--sys/netinet6/in6_pcb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c
index 47dd9b043c9e..a19a1ebc835e 100644
--- a/sys/netinet6/in6_pcb.c
+++ b/sys/netinet6/in6_pcb.c
@@ -118,7 +118,6 @@
#include <netipsec/ipsec.h>
#include <netipsec/ipsec6.h>
#include <netipsec/key.h>
-#define IPSEC
#endif /* FAST_IPSEC */
struct in6_addr zeroin6_addr;
@@ -435,7 +434,7 @@ in6_pcbdetach(inp)
struct socket *so = inp->inp_socket;
struct inpcbinfo *ipi = inp->inp_pcbinfo;
-#ifdef IPSEC
+#if defined(IPSEC) || defined(FAST_IPSEC)
if (inp->in6p_sp != NULL)
ipsec6_delete_pcbpolicy(inp);
#endif /* IPSEC */