diff options
author | xebd <xeb@mail.ru> | 2019-05-10 12:42:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-10 12:42:30 +0300 |
commit | e909de9c6afd0581c8847b3676b200f4c0b7237b (patch) | |
tree | 5c864d4c594f00a4a96c58f1757df97236dd1fcb | |
parent | 2d5fb5e4aad86c440ecb7ebd4deb93901e21b8f3 (diff) | |
parent | fda5ea9713d52d101fcafe6a01de654d3dc7da55 (diff) | |
download | accel-ppp-e909de9c6afd0581c8847b3676b200f4c0b7237b.tar.gz accel-ppp-e909de9c6afd0581c8847b3676b200f4c0b7237b.zip |
Merge pull request #73 from DmitriyEshenko/master
Fix bug after radius server recovery
-rw-r--r-- | accel-pppd/radius/acct.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/radius/acct.c b/accel-pppd/radius/acct.c index e4daedbf..b17016d5 100644 --- a/accel-pppd/radius/acct.c +++ b/accel-pppd/radius/acct.c @@ -88,7 +88,8 @@ static void rad_acct_recv(struct rad_req_t *req) stat_accm_add(req->serv->stat_interim_query_1m, dt); stat_accm_add(req->serv->stat_interim_query_5m, dt); - triton_timer_del(&req->timeout); + if (req->timeout.tpd) + triton_timer_del(&req->timeout); triton_md_unregister_handler(&req->hnd, 1); |