From 5a7474b41970e8cdf5ad98f7daa74814f5667a5e Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Tue, 11 Nov 2014 00:24:19 +0300 Subject: radius: add missing log_switch --- accel-pppd/radius/serv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'accel-pppd/radius') diff --git a/accel-pppd/radius/serv.c b/accel-pppd/radius/serv.c index 58fc4349..718a3b2d 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); } -- cgit v1.2.3