Skip to content

Commit

Permalink
fixed that the incorrect time was set to sadb_comb_{hard|soft}_usetime.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakane committed Aug 20, 2002
1 parent f56b828 commit 519ebe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kame/sys/netkey/key.c
@@ -1,4 +1,4 @@
/* $KAME: key.c,v 1.254 2002/07/17 03:44:11 sakane Exp $ */
/* $KAME: key.c,v 1.255 2002/08/20 06:10:02 sakane Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
Expand Down Expand Up @@ -5622,8 +5622,8 @@ key_getcomb_setlifetime(comb)
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_usetime = 28800; /* 8 hours */
comb->sadb_comb_hard_usetime = comb->sadb_comb_hard_usetime * 80 / 100;
comb->sadb_comb_hard_usetime = 28800; /* 8 hours */
comb->sadb_comb_soft_usetime = comb->sadb_comb_hard_usetime * 80 / 100;
}

#ifdef IPSEC_ESP
Expand Down

0 comments on commit 519ebe1

Please sign in to comment.