summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/auth.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-10-04 18:52:17 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-10-04 18:52:17 +0400
commit43a444fc65d917bf680831c0b942d682d933dc84 (patch)
treecc7c85b61e86f72795e4c3881199e3a96ddd0ca6 /accel-pppd/radius/auth.c
parentcc301ec08bf329968cea8fab8a5d7c4b05a1870b (diff)
downloadaccel-ppp-43a444fc65d917bf680831c0b942d682d933dc84.tar.gz
accel-ppp-43a444fc65d917bf680831c0b942d682d933dc84.zip
radius: various bug fixes
Diffstat (limited to 'accel-pppd/radius/auth.c')
-rw-r--r--accel-pppd/radius/auth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/radius/auth.c b/accel-pppd/radius/auth.c
index b73f2597..d166192a 100644
--- a/accel-pppd/radius/auth.c
+++ b/accel-pppd/radius/auth.c
@@ -181,6 +181,9 @@ static void rad_auth_recv(struct rad_req_t *req)
.reply = pack,
};
triton_event_fire(EV_RADIUS_ACCESS_ACCEPT, &ev);
+ } else {
+ rad_auth_finalize(req->rpd, PWDB_DENIED);
+ return;
}
if (req->rpd->auth_ctx->recv && req->rpd->auth_ctx->recv(req)) {