diff options
author | George V. Neville-Neil <gnn@FreeBSD.org> | 2015-10-29 21:26:32 +0000 |
---|---|---|
committer | George V. Neville-Neil <gnn@FreeBSD.org> | 2015-10-29 21:26:32 +0000 |
commit | 02b90dbf45fa59b56f53f380b1b5a8fae7de0af3 (patch) | |
tree | 5f685a7e2264125a92e0abc0b807e21a04a6a22a /sys | |
parent | 35aafbeda815294700c0d71a1f4f526d5b935e4a (diff) | |
download | src-02b90dbf45fa59b56f53f380b1b5a8fae7de0af3.tar.gz src-02b90dbf45fa59b56f53f380b1b5a8fae7de0af3.zip |
Set the proper direction to check for policies in this one case.
Pointed out by: eri
Sponsored by: Rubicon Communications (Netgate)
Notes
Notes:
svn path=/head/; revision=290165
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsec.c b/sys/netinet/ip_ipsec.c index 77ce4c1a79ad..ac1e3d56d73c 100644 --- a/sys/netinet/ip_ipsec.c +++ b/sys/netinet/ip_ipsec.c @@ -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; /* |