From: Matthew Newton Date: Thu, 27 Sep 2012 22:46:00 +0000 (+0100) Subject: tidy comments in auth.c X-Git-Tag: release_3_0_0_beta1~1675^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5350ba22e2d79ab2eeef11edde34934db17d99e;p=thirdparty%2Ffreeradius-server.git tidy comments in auth.c --- diff --git a/src/main/auth.c b/src/main/auth.c index f1bfdd14446..f55e9623fb2 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -195,16 +195,19 @@ static int rad_check_password(REQUEST *request) } } + /* + * Warn if more than one Auth-Type was found, because only the last + * one found will actually be used. + */ if (( auth_type_count > 1) && (debug_flag)) { radlog_request(L_ERR, 0, request, "Warning: Found %d auth-types on request for user '%s'", auth_type_count, request->username->vp_strvalue); } /* - * This means we have a proxy reply or an accept - * and it wasn't rejected in the above loop. So - * that means it is accepted and we do no further - * authentication + * This means we have a proxy reply or an accept and it wasn't + * rejected in the above loop. So that means it is accepted and we + * do no further authentication. */ if ((auth_type == PW_AUTHTYPE_ACCEPT) #ifdef WITH_PROXY