projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
caec470
)
defer shutdown counters for a minute after normal acct dump
author
bodea
<bodea>
Mon, 13 Dec 2004 05:27:19 +0000
(
05:27
+0000)
committer
bodea
<bodea>
Mon, 13 Dec 2004 05:27:19 +0000
(
05:27
+0000)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
f2eea31
..
2184a05
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-4,7
+4,7
@@
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
-char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.6
7 2004/12/13 05:20:3
9 bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.6
8 2004/12/13 05:27:1
9 bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
#include <arpa/inet.h>
#include <assert.h>
@@
-2206,6
+2206,7
@@
static int regular_cleanups(void)
{
// Dump accounting data
next_acct = TIME + ACCT_TIME;
{
// Dump accounting data
next_acct = TIME + ACCT_TIME;
+ next_shut_acct = TIME + ACCT_SHUT_TIME;
dump_acct_info(1);
}
else if (next_shut_acct <= TIME)
dump_acct_info(1);
}
else if (next_shut_acct <= TIME)