diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2011-09-20 10:46:36 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2011-09-20 10:46:36 +0400 |
commit | 2070b2af1bd1a259946df6af8ede04f51e9f759c (patch) | |
tree | 1a59beac706becd737ee36a9b29cdc7f3edf5d3c /accel-pppd/radius/acct.c | |
parent | b01d121d0181329321a0cbb57f8251bab64bb823 (diff) | |
download | accel-ppp-2070b2af1bd1a259946df6af8ede04f51e9f759c.tar.gz accel-ppp-2070b2af1bd1a259946df6af8ede04f51e9f759c.zip |
radius: restore timeout timer value on each Interim-Update
Diffstat (limited to 'accel-pppd/radius/acct.c')
-rw-r--r-- | accel-pppd/radius/acct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/radius/acct.c b/accel-pppd/radius/acct.c index a75eff4..e627474 100644 --- a/accel-pppd/radius/acct.c +++ b/accel-pppd/radius/acct.c @@ -220,6 +220,7 @@ static void rad_acct_interim_update(struct triton_timer_t *t) __sync_add_and_fetch(&rpd->acct_req->serv->stat_interim_sent, 1); + rpd->acct_req->timeout.period = conf_timeout * 1000; triton_timer_add(rpd->ppp->ctrl->ctx, &rpd->acct_req->timeout, 0); } |