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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290165
@ -159,7 +159,7 @@ ip_ipsec_output(struct mbuf **m, struct inpcb *inp, int *error)
|
||||
{
|
||||
struct secpolicy *sp;
|
||||
|
||||
if (!key_havesp(IPSEC_DIR_INBOUND))
|
||||
if (!key_havesp(IPSEC_DIR_OUTBOUND))
|
||||
return 0;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user