summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-12-02 00:23:45 +0000
committersam <sam@FreeBSD.org>2003-12-02 00:23:45 +0000
commit69806d879eaf039876eb3e3887434946725bc211 (patch)
tree9e09c1284e58fc502bcee7c99ed0866db77c78b2 /sys/netinet/ip_fw2.c
parentda88330aaaf865884c9af2df08f70b7faf8c5b90 (diff)
downloadFreeBSD-src-69806d879eaf039876eb3e3887434946725bc211.zip
FreeBSD-src-69806d879eaf039876eb3e3887434946725bc211.tar.gz
Include opt_ipsec.h so IPSEC/FAST_IPSEC is defined and the appropriate
code is compiled in to support the O_IPSEC operator. Previously no support was included and ipsec rules were always matching. Note that we do not return an error when an ipsec rule is added and the kernel does not have IPsec support compiled in; this is done intentionally but we may want to revisit this (document this in the man page). PR: 58899 Submitted by: Bjoern A. Zeeb Approved by: re (rwatson)
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index 6511722..c2578a0 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -37,6 +37,7 @@
#include "opt_ipdn.h"
#include "opt_ipdivert.h"
#include "opt_inet.h"
+#include "opt_ipsec.h"
#ifndef INET
#error IPFIREWALL requires INET.
#endif /* INET */
OpenPOWER on IntegriCloud