From: Alan T. DeKok Date: Fri, 26 May 2017 13:04:12 +0000 (-0400) Subject: check for username, too X-Git-Tag: release_3_0_14~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03d96dbfc5d44c331bd5470502f514c67ffae7aa;p=thirdparty%2Ffreeradius-server.git check for username, too --- diff --git a/src/main/auth.c b/src/main/auth.c index ecf42ed674f..79e639e6c99 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -197,7 +197,7 @@ static int CC_HINT(nonnull) 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) && (rad_debug_lvl)) { + if ((auth_type_count > 1) && (rad_debug_lvl) && request->username) { RERROR("Warning: Found %d auth-types on request for user '%s'", auth_type_count, request->username->vp_strvalue); }