summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2011-09-20 10:46:36 +0400
committerKozlov Dmitry <xeb@mail.ru>2011-09-20 10:46:36 +0400
commit2070b2af1bd1a259946df6af8ede04f51e9f759c (patch)
tree1a59beac706becd737ee36a9b29cdc7f3edf5d3c
parentb01d121d0181329321a0cbb57f8251bab64bb823 (diff)
downloadaccel-ppp-2070b2af1bd1a259946df6af8ede04f51e9f759c.tar.gz
accel-ppp-2070b2af1bd1a259946df6af8ede04f51e9f759c.zip
radius: restore timeout timer value on each Interim-Update
-rw-r--r--accel-pppd/radius/acct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/radius/acct.c b/accel-pppd/radius/acct.c
index a75eff41..e6274741 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);
}