summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/serv.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/radius/serv.c')
-rw-r--r--accel-pppd/radius/serv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/radius/serv.c b/accel-pppd/radius/serv.c
index 58fc434..718a3b2 100644
--- a/accel-pppd/radius/serv.c
+++ b/accel-pppd/radius/serv.c
@@ -138,6 +138,9 @@ static void req_wakeup(struct rad_req_t *req)
static void req_wakeup_failed(struct rad_req_t *req)
{
+ if (!req->rpd)
+ log_switch(triton_context_self(), NULL);
+
req->send(req, -1);
}