From: Alan T. DeKok Date: Sat, 15 Jul 2023 11:35:32 +0000 (-0400) Subject: check the request we reference, not the current request X-Git-Tag: release_3_2_4~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc670add279abacaadebaf3f9d6b799da13220c;p=thirdparty%2Ffreeradius-server.git check the request we reference, not the current request --- diff --git a/src/main/map.c b/src/main/map.c index e59fcec6f05..34683a2e129 100644 --- a/src/main/map.c +++ b/src/main/map.c @@ -1108,7 +1108,7 @@ int map_to_request(REQUEST *request, vp_map_t const *map, radius_map_getvalue_t */ if (((map->lhs->tmpl_list == PAIR_LIST_COA) || (map->lhs->tmpl_list == PAIR_LIST_DM)) && !request->coa) { - if (request->parent) { + if (context->parent) { REDEBUG("You can only do 'update coa' when processing a packet which was received from the network"); return -2; }