summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Smith <mgsmith@netgate.com>2015-11-18 10:33:27 -0600
committerMatt Smith <mgsmith@netgate.com>2015-11-18 10:33:27 -0600
commit940bd93b66fa74593b95811014df88cf99c71cf7 (patch)
tree9a88054711da884ec99feedfd876fe64bce3d5ad
parent9686a87c810bf5ba0affebc7df2320f35796e3ad (diff)
downloadFreeBSD-src-940bd93b66fa74593b95811014df88cf99c71cf7.zip
FreeBSD-src-940bd93b66fa74593b95811014df88cf99c71cf7.tar.gz
Importing pfSense patch ipsec_fwd_check.diff
-rw-r--r--sys/netinet/ip_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 1cbb88a..0917e68 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -681,7 +681,7 @@ passin:
IPSTAT_INC(ips_cantforward);
m_freem(m);
} else {
-#ifdef IPSEC
+#ifdef IPSEC_FWD_CHECK
if (V_ipipsec_in_use && ip_ipsec_fwd(m))
goto bad;
#endif /* IPSEC */
OpenPOWER on IntegriCloud