diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-15 11:37:01 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-15 11:37:01 +0400 |
commit | 1872dd97822f406a2d54bd75ed8220092ec5d4fb (patch) | |
tree | 67d1f4dbc7e0fd6d2e2251af395f4c0afe619c60 /accel-pppd/radius | |
parent | 1afd5ed7eadf4fdb6f182bde2c2c25001d5bb74e (diff) | |
download | accel-ppp-1872dd97822f406a2d54bd75ed8220092ec5d4fb.tar.gz accel-ppp-1872dd97822f406a2d54bd75ed8220092ec5d4fb.zip |
radius: fixed broken authentication procedure
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r-- | accel-pppd/radius/radius.c | 7 |
1 files 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); |