svn commit: r185292 - head/sys/netipsec

Bjoern A. Zeeb bz at FreeBSD.org
Tue Nov 25 01:49:06 PST 2008


Author: bz
Date: Tue Nov 25 09:49:05 2008
New Revision: 185292
URL: http://svn.freebsd.org/changeset/base/185292

Log:
  Unbreak the build without INET6.

Modified:
  head/sys/netipsec/ipsec.c

Modified: head/sys/netipsec/ipsec.c
==============================================================================
--- head/sys/netipsec/ipsec.c	Tue Nov 25 09:17:01 2008	(r185291)
+++ head/sys/netipsec/ipsec.c	Tue Nov 25 09:49:05 2008	(r185292)
@@ -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
 }
 
 /*


More information about the svn-src-all mailing list