From: Alan T. DeKok Date: Fri, 25 Mar 2022 18:24:00 +0000 (-0400) Subject: add the child list, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=864359a0935e4eafd8b4c2806c5cfccb70ec58fb;p=thirdparty%2Ffreeradius-server.git add the child list, too --- diff --git a/src/lib/util/tlist.h b/src/lib/util/tlist.h index 25b2ba36e2d..62f9eea854a 100644 --- a/src/lib/util/tlist.h +++ b/src/lib/util/tlist.h @@ -1047,6 +1047,8 @@ static inline void fr_tlist_init_children(fr_tlist_t *entry, fr_tlist_head_t *ch children->offset = list_head->offset; children->type = list_head->type; children->parent = NULL; + + entry->children = children; } /** Add a pre-initialized child tlist to a parent entry.