fix build with FAST_IPSEC.

Reported by:	cjc
This commit is contained in:
Hajimu UMEMOTO 2004-02-09 16:02:16 +00:00
parent 5e0eb6243d
commit 0f36f0e84a

View file

@ -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 */