From: Alan T. DeKok Date: Tue, 8 Apr 2025 17:09:05 +0000 (-0400) Subject: it's better to do this only for Access-Challenge X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035ce61bac46a19c207da4c0655c9c4fde2944bc;p=thirdparty%2Ffreeradius-server.git it's better to do this only for Access-Challenge --- diff --git a/src/main/process.c b/src/main/process.c index 8ae83092c7..7d802536e7 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -2780,7 +2780,7 @@ static int process_proxy_reply(REQUEST *request, RADIUS_PACKET *reply) * attribute in the reply. */ if (request->home_pool->affinity_group && - (request->packet->code == PW_CODE_ACCESS_REQUEST) && + (request->reply->code == PW_CODE_ACCESS_CHALLENGE) && ((vp = fr_pair_find_by_num(request->reply->vps, PW_STATE, 0, TAG_ANY)) != NULL)) { uint8_t *src;