diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2018-02-19 12:03:58 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2018-02-19 12:03:58 +0300 |
commit | 956cb489628621a2298937afeaed57cccf605bb2 (patch) | |
tree | 7934b06f280995edcfbe8b7ac6eb9a2240d9ae5d /accel-pppd/radius/req.c | |
parent | c414d89fc30194bf3dddaf5d422baeb964178e93 (diff) | |
download | accel-ppp-xebd-956cb489628621a2298937afeaed57cccf605bb2.tar.gz accel-ppp-xebd-956cb489628621a2298937afeaed57cccf605bb2.zip |
radius: fixed invalid behaviour when route to radius server is not existing
Diffstat (limited to 'accel-pppd/radius/req.c')
-rw-r--r-- | accel-pppd/radius/req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/req.c b/accel-pppd/radius/req.c index b09b880..b6c4cf0 100644 --- a/accel-pppd/radius/req.c +++ b/accel-pppd/radius/req.c @@ -313,7 +313,7 @@ int __rad_req_send(struct rad_req_t *req, int async) } if (req->hnd.fd == -1 && make_socket(req)) - return -1; + return -2; if (req->before_send && req->before_send(req)) goto out_err; |