mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
fix build with FAST_IPSEC.
Reported by: cjc
This commit is contained in:
parent
5e0eb6243d
commit
0f36f0e84a
1 changed files with 1 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue