Skip to content

Commit

Permalink
- set the default configuration lifetime as infinity.
Browse files Browse the repository at this point in the history
  • Loading branch information
fujisawa committed Sep 6, 2001
1 parent f19cf54 commit 4150ea1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kame/kame/natptconfig/misc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: misc.c,v 1.11 2001/09/02 19:32:28 fujisawa Exp $ */
/* $KAME: misc.c,v 1.12 2001/09/06 06:01:40 fujisawa Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 and 2001 WIDE Project.
Expand Down Expand Up @@ -136,6 +136,7 @@ setRules(int type, struct ruletab *ruletab)
}

f->type = NATPT_RULE_STATIC;
f->lifetime = CSLOT_INFINITE_LIFETIME;
if (soctl(sfd, SIOCSETRULES, &mBox) < 0)
soctlFailure(fn);
}
Expand Down

0 comments on commit 4150ea1

Please sign in to comment.