From 1872dd97822f406a2d54bd75ed8220092ec5d4fb Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Wed, 15 Aug 2012 11:37:01 +0400 Subject: radius: fixed broken authentication procedure --- accel-pppd/radius/radius.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/accel-pppd/radius/radius.c b/accel-pppd/radius/radius.c index b83f67d6..03e9e665 100644 --- a/accel-pppd/radius/radius.c +++ b/accel-pppd/radius/radius.c @@ -167,9 +167,10 @@ static int check(struct pwdb_t *pwdb, struct ap_session *ses, const char *userna r = rad_auth_mschap_v2(rpd, username, args); break; } - case 0: - r = rad_auth_null(rpd, username, args); - break; + break; + case 0: + r = rad_auth_null(rpd, username, args); + break; } va_end(args); -- cgit v1.2.3