diff options
author | Kozlov Dmitry <dima@server> | 2011-04-07 11:31:57 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2011-04-07 11:31:57 +0400 |
commit | 0e570d0a4525a7627f933945fec489d8d7604083 (patch) | |
tree | dd708919d4cd7d630ae3a4286194729739a051c8 /accel-pppd/radius | |
parent | 0eec3cbdb0c293823c851607d35dccdc9cca7439 (diff) | |
download | accel-ppp-0e570d0a4525a7627f933945fec489d8d7604083.tar.gz accel-ppp-0e570d0a4525a7627f933945fec489d8d7604083.zip |
radius: bugfix
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r-- | accel-pppd/radius/req.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/radius/req.c b/accel-pppd/radius/req.c index a384f236..1fa79ad2 100644 --- a/accel-pppd/radius/req.c +++ b/accel-pppd/radius/req.c @@ -209,7 +209,8 @@ out_err: static void req_wakeup(struct rad_req_t *req) { struct triton_context_t *ctx = req->rpd->ppp->ctrl->ctx; - triton_timer_del(&req->timeout); + if (req->timeout.tpd) + triton_timer_del(&req->timeout); triton_md_unregister_handler(&req->hnd); triton_context_unregister(&req->ctx); triton_context_wakeup(ctx); |