From owner-svn-src-head@FreeBSD.ORG Tue Nov 25 09:49:06 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56864106564A; Tue, 25 Nov 2008 09:49:06 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 442498FC1C; Tue, 25 Nov 2008 09:49:06 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAP9n6XM015163; Tue, 25 Nov 2008 09:49:06 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAP9n6wl015162; Tue, 25 Nov 2008 09:49:06 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200811250949.mAP9n6wl015162@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Tue, 25 Nov 2008 09:49:06 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185292 - head/sys/netipsec X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 09:49:06 -0000 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 } /*