Skip to content

Commit 035ce61

Browse files
committed
it's better to do this only for Access-Challenge
1 parent 3de9d62 commit 035ce61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2780,7 +2780,7 @@ static int process_proxy_reply(REQUEST *request, RADIUS_PACKET *reply)
27802780
* attribute in the reply.
27812781
*/
27822782
if (request->home_pool->affinity_group &&
2783-
(request->packet->code == PW_CODE_ACCESS_REQUEST) &&
2783+
(request->reply->code == PW_CODE_ACCESS_CHALLENGE) &&
27842784
((vp = fr_pair_find_by_num(request->reply->vps, PW_STATE, 0, TAG_ANY)) != NULL)) {
27852785
uint8_t *src;
27862786

0 commit comments

Comments
 (0)