Skip to content

Commit

Permalink
Fix bug after radius server recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 10, 2019
1 parent 2d5fb5e commit fda5ea9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion accel-pppd/radius/acct.c
Expand Up @@ -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);

Expand Down

0 comments on commit fda5ea9

Please sign in to comment.