diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-11-11 00:24:19 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-11-11 00:24:19 +0300 |
commit | 5a7474b41970e8cdf5ad98f7daa74814f5667a5e (patch) | |
tree | 05580739678d300be1e9a841c26e13297ffc6012 | |
parent | 7763c6cfaecde4c9f1b47bf07966a88f6dd7d71b (diff) | |
download | accel-ppp-5a7474b41970e8cdf5ad98f7daa74814f5667a5e.tar.gz accel-ppp-5a7474b41970e8cdf5ad98f7daa74814f5667a5e.zip |
radius: add missing log_switch
-rw-r--r-- | accel-pppd/radius/serv.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |