Set the proper direction to check for policies in this one case.
Pointed out by: eri Sponsored by: Rubicon Communications (Netgate)
This commit is contained in:
parent
35aafbeda8
commit
02b90dbf45
@ -159,7 +159,7 @@ ip_ipsec_output(struct mbuf **m, struct inpcb *inp, int *error)
|
|||||||
{
|
{
|
||||||
struct secpolicy *sp;
|
struct secpolicy *sp;
|
||||||
|
|
||||||
if (!key_havesp(IPSEC_DIR_INBOUND))
|
if (!key_havesp(IPSEC_DIR_OUTBOUND))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user