From: Arran Cudbard-Bell Date: Wed, 3 Nov 2021 21:13:51 +0000 (-0400) Subject: Still replacing in the extent's list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a5268167f31bcd9d4f38d5234d434e11ecf5ca;p=thirdparty%2Ffreeradius-server.git Still replacing in the extent's list --- diff --git a/src/lib/server/map.c b/src/lib/server/map.c index 4fd080e9480..c366326f0d2 100644 --- a/src/lib/server/map.c +++ b/src/lib/server/map.c @@ -1792,7 +1792,7 @@ int map_to_request(request_t *request, map_t const *map, radius_map_getvalue_t f extent = fr_dlist_head(&leaf); if (dst) { DEBUG_OVERWRITE(dst, src_vp); - dst = fr_dcursor_replace(&dst_list, fr_pair_copy(extent->list_ctx, src_vp)); + dst = fr_dcursor_replace(extent->list, fr_pair_copy(extent->list_ctx, src_vp)); talloc_free(dst); } else { fr_pair_append(extent->list, fr_pair_copy(extent->list_ctx, src_vp));