From: Arran Cudbard-Bell Date: Thu, 31 Jul 2025 04:44:47 +0000 (-0700) Subject: The enumv isn't an ancestor of the attribute being printed X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6ad9473b4ecc5e11452b828acb9f4693cbeb1ad1;p=thirdparty%2Ffreeradius-server.git The enumv isn't an ancestor of the attribute being printed --- diff --git a/src/lib/util/value.c b/src/lib/util/value.c index ce936f3ecf..8b90be1fb3 100644 --- a/src/lib/util/value.c +++ b/src/lib/util/value.c @@ -5833,7 +5833,7 @@ ssize_t fr_value_box_print(fr_sbuff_t *out, fr_value_box_t const *data, fr_sbuff * No escaping, just dump the name as-is. */ if (!e_rules) { - FR_DICT_ATTR_OID_PRINT_RETURN(&our_out, data->enumv, data->vb_attr, false); + FR_DICT_ATTR_OID_PRINT_RETURN(&our_out, NULL, data->vb_attr, false); break; } @@ -5846,7 +5846,7 @@ ssize_t fr_value_box_print(fr_sbuff_t *out, fr_value_box_t const *data, fr_sbuff FR_SBUFF_TALLOC_THREAD_LOCAL(&unescaped, 256, 4096); - FR_DICT_ATTR_OID_PRINT_RETURN(unescaped, data->enumv, data->vb_attr, false); + FR_DICT_ATTR_OID_PRINT_RETURN(unescaped, NULL, data->vb_attr, false); FR_SBUFF_IN_ESCAPE_RETURN(&our_out, fr_sbuff_start(unescaped), fr_sbuff_used(unescaped), e_rules);