From: Alan T. DeKok Date: Sun, 17 Jul 2022 14:10:14 +0000 (-0400) Subject: allow edits of structural attributes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30e8a22d9164365773e0027aefc730983864c2b0;p=thirdparty%2Ffreeradius-server.git allow edits of structural attributes. this should work, as the underlying infrastructure now supports it. --- diff --git a/src/lib/unlang/edit.c b/src/lib/unlang/edit.c index 978e9f163e8..402420af3d7 100644 --- a/src/lib/unlang/edit.c +++ b/src/lib/unlang/edit.c @@ -597,11 +597,6 @@ static unlang_action_t process_edit(rlm_rcode_t *p_result, request_t *request, u goto error; } - if (tmpl_is_attr(state->lhs.vpt) && fr_type_is_structural(tmpl_da(state->lhs.vpt)->type)) { - REDEBUG("Can't edit structural %s", state->lhs.vpt->name); - goto error; - } - fr_assert(!tmpl_is_list(state->lhs.vpt)); /*