From: Arran Cudbard-Bell Date: Wed, 16 Oct 2019 19:27:18 +0000 (-0400) Subject: Set value to be the nested value array/field when the attribute is an object X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f49bee4d89e83bfd73fcf8aca3212903d679c02;p=thirdparty%2Ffreeradius-server.git Set value to be the nested value array/field when the attribute is an object --- diff --git a/src/modules/rlm_rest/rest.c b/src/modules/rlm_rest/rest.c index 460c1cef56c..b06fcb47c14 100644 --- a/src/modules/rlm_rest/rest.c +++ b/src/modules/rlm_rest/rest.c @@ -1120,6 +1120,11 @@ static int json_pair_alloc(rlm_rest_t const *instance, rlm_rest_section_t const RWDEBUG("Value key missing (skipping)"); continue; } + + /* + * The value field now becomes the key we're operating on + */ + value = tmp; } /*