summaryrefslogtreecommitdiffstats
path: root/src/main/map.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/map.c b/src/main/map.c
index e59fcec..34683a2 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;
}