summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-27 07:16:51 -0200
committerRenato Botelho <renato@netgate.com>2015-11-27 07:16:51 -0200
commit6e204e2cf88c010002580a24d8d4fe54361a1f0a (patch)
tree30761babf28692802d7464d21eb016153e2c506c
parent7ed1aac3e1029b1f7ebe0d4153de5048f02db8c9 (diff)
downloadFreeBSD-src-6e204e2cf88c010002580a24d8d4fe54361a1f0a.zip
FreeBSD-src-6e204e2cf88c010002580a24d8d4fe54361a1f0a.tar.gz
Revert "MFC r290165:"
This reverts commit 2b0a9fbf7a64ff2e54d03cebd5bc2d787026eaf8.
-rw-r--r--sys/netinet/ip_ipsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsec.c b/sys/netinet/ip_ipsec.c
index 2e43e43..7a7be7d 100644
--- a/sys/netinet/ip_ipsec.c
+++ b/sys/netinet/ip_ipsec.c
@@ -158,7 +158,7 @@ ip_ipsec_output(struct mbuf **m, struct inpcb *inp, int *error)
{
struct secpolicy *sp;
- if (!key_havesp(IPSEC_DIR_OUTBOUND))
+ if (!key_havesp(IPSEC_DIR_INBOUND))
return 0;
/*
OpenPOWER on IntegriCloud