From 9152d0e109abe1fae4ff4827148980f89822db88 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 5 Oct 2005 12:59:24 +0000 Subject: [PATCH] PR/31478: YOMURA Masanori: Inconsistent default value of net.inet.ipsec.dfbit Changed to match netinet6 (0->2) --- sys/netipsec/ipsec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c index 37fab73c87e7..81016e45b01e 100644 --- a/sys/netipsec/ipsec.c +++ b/sys/netipsec/ipsec.c @@ -1,4 +1,4 @@ -/* $NetBSD: ipsec.c,v 1.17 2005/06/10 13:22:42 christos Exp $ */ +/* $NetBSD: ipsec.c,v 1.18 2005/10/05 12:59:24 christos Exp $ */ /* $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */ /* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */ @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.17 2005/06/10 13:22:42 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.18 2005/10/05 12:59:24 christos Exp $"); /* * IPsec controller part. @@ -111,7 +111,7 @@ int ipsec_debug = 0; /* NB: name changed so netstat doesn't use it */ struct newipsecstat newipsecstat; int ip4_ah_offsetmask = 0; /* maybe IP_DF? */ -int ip4_ipsec_dfbit = 0; /* DF bit on encap. 0: clear 1: set 2: copy */ +int ip4_ipsec_dfbit = 2; /* DF bit on encap. 0: clear 1: set 2: copy */ int ip4_esp_trans_deflev = IPSEC_LEVEL_USE; int ip4_esp_net_deflev = IPSEC_LEVEL_USE; int ip4_ah_trans_deflev = IPSEC_LEVEL_USE;