From: Alan T. DeKok Date: Wed, 14 Sep 2011 15:33:46 +0000 (+0200) Subject: Made more coherent X-Git-Tag: release_3_0_0_beta0~638 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ef6d80ec847066802307b39978eadd17faca116;p=thirdparty%2Ffreeradius-server.git Made more coherent --- diff --git a/src/main/auth.c b/src/main/auth.c index 79a3e80b751..e01a684b8c9 100644 --- a/src/main/auth.c +++ b/src/main/auth.c @@ -187,8 +187,8 @@ static int rad_check_password(REQUEST *request) DICT_VALUE *dv; auth_type = auth_type_pair->vp_integer; auth_type_count++; - dv = dict_valbyattr(auth_type_pair->attribute, - auth_type_pair->vp_integer, 0); + dv = dict_valbyattr(PW_AUTH_TYPE, + auth_type_pair->vp_integer, 0); RDEBUG2("Found Auth-Type = %s", (dv != NULL) ? dv->name : "?");