From: Alan T. DeKok Date: Mon, 30 Oct 2023 18:10:36 +0000 (-0400) Subject: allow internal groups to be parents too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49793ac8ab2e44b3d46ff7f93431df88e81097f9;p=thirdparty%2Ffreeradius-server.git allow internal groups to be parents too --- diff --git a/src/lib/util/dict_util.c b/src/lib/util/dict_util.c index 9f5f18f2807..fc100abecf7 100644 --- a/src/lib/util/dict_util.c +++ b/src/lib/util/dict_util.c @@ -4372,6 +4372,11 @@ bool fr_dict_attr_can_contain(fr_dict_attr_t const *parent, fr_dict_attr_t const if (parent->dict == dict_gctx->internal) return true; } + /* + * Anything can go into internal groups. + */ + if ((parent->type == FR_TYPE_GROUP) && parent->flags.internal) return true; + /* * Protocol attributes have to be in the same dictionary. *