Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/netkey Pull up revision 1.73 (requested by itojun i...
details: https://anonhg.NetBSD.org/src/rev/401e104d613c
branches: netbsd-1-6
changeset: 529413:401e104d613c
user: tron <tron%NetBSD.org@localhost>
date: Tue Nov 19 21:19:06 2002 +0000
description:
Pull up revision 1.73 (requested by itojun in ticket #704):
fixed that the incorrect time was set to sadb_comb_{hard|soft}_usetime.
sync w/kame
diffstat:
sys/netkey/key.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 8e9082bf437c -r 401e104d613c sys/netkey/key.c
--- a/sys/netkey/key.c Tue Nov 19 21:08:12 2002 +0000
+++ b/sys/netkey/key.c Tue Nov 19 21:19:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: key.c,v 1.63 2002/05/19 08:22:12 itojun Exp $ */
+/* $NetBSD: key.c,v 1.63.2.1 2002/11/19 21:19:06 tron Exp $ */
/* $KAME: key.c,v 1.234 2002/05/13 03:21:17 itojun Exp $ */
/*
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.63 2002/05/19 08:22:12 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.63.2.1 2002/11/19 21:19:06 tron Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -5403,9 +5403,9 @@
comb->sadb_comb_soft_bytes = 0;
comb->sadb_comb_hard_bytes = 0;
comb->sadb_comb_hard_addtime = 86400; /* 1 day */
- comb->sadb_comb_soft_addtime = comb->sadb_comb_soft_addtime * 80 / 100;
+ comb->sadb_comb_soft_addtime = comb->sadb_comb_hard_addtime * 80 / 100;
comb->sadb_comb_soft_usetime = 28800; /* 8 hours */
- comb->sadb_comb_hard_usetime = comb->sadb_comb_hard_usetime * 80 / 100;
+ comb->sadb_comb_soft_usetime = comb->sadb_comb_hard_usetime * 80 / 100;
}
#ifdef IPSEC_ESP
Home |
Main Index |
Thread Index |
Old Index