diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2019-05-13 11:51:17 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2019-05-13 11:51:17 +0300 |
commit | 85ace14ed9976e98081068fe2e797fcf09e08148 (patch) | |
tree | 7daecd3615d17ce70c5d6c492b950d4c360c6d83 /accel-pppd/radius/acct.c | |
parent | 6f433706a152ea987899fd830ff399e257b0f2a6 (diff) | |
parent | e909de9c6afd0581c8847b3676b200f4c0b7237b (diff) | |
download | accel-ppp-85ace14ed9976e98081068fe2e797fcf09e08148.tar.gz accel-ppp-85ace14ed9976e98081068fe2e797fcf09e08148.zip |
Merge branch 'master' of github.com:xebd/accel-ppp
Diffstat (limited to 'accel-pppd/radius/acct.c')
-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); |