Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2008 09:49:06 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185292 - head/sys/netipsec
Message-ID:  <200811250949.mAP9n6wl015162@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811250949.mAP9n6wl015162>