summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-11-25 09:49:05 +0000
committerbz <bz@FreeBSD.org>2008-11-25 09:49:05 +0000
commit5de6e674b35ea24cf3ee09ff68236e8a1d61a877 (patch)
tree32080916cd86e0e65b0db1e9788aabcf53bd1ca2 /sys/netipsec
parent0ffc05a991c283c7612042a8a2a97b641fc4be16 (diff)
downloadFreeBSD-src-5de6e674b35ea24cf3ee09ff68236e8a1d61a877.zip
FreeBSD-src-5de6e674b35ea24cf3ee09ff68236e8a1d61a877.tar.gz
Unbreak the build without INET6.
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/ipsec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c
index a686f43..262b302 100644
--- a/sys/netipsec/ipsec.c
+++ b/sys/netipsec/ipsec.c
@@ -270,11 +270,13 @@ ipsec_init(void)
V_ipsec_integrity = 0;
#endif
+#ifdef INET6
V_ip6_esp_trans_deflev = IPSEC_LEVEL_USE;
V_ip6_esp_net_deflev = IPSEC_LEVEL_USE;
V_ip6_ah_trans_deflev = IPSEC_LEVEL_USE;
V_ip6_ah_net_deflev = IPSEC_LEVEL_USE;
V_ip6_ipsec_ecn = 0; /* ECN ignore(-1)/forbidden(0)/allowed(1) */
+#endif
}
/*
OpenPOWER on IntegriCloud