From 0f36f0e84a42fcbcfc61a99f919bc9e41934fbfa Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Mon, 9 Feb 2004 16:02:16 +0000 Subject: [PATCH] fix build with FAST_IPSEC. Reported by: cjc --- sys/netinet6/in6_pcb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/netinet6/in6_pcb.c b/sys/netinet6/in6_pcb.c index 47dd9b043c9..a19a1ebc835 100644 --- a/sys/netinet6/in6_pcb.c +++ b/sys/netinet6/in6_pcb.c @@ -118,7 +118,6 @@ #include #include #include -#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 */