From: Alan T. DeKok Date: Tue, 5 Nov 2019 02:18:38 +0000 (-0500) Subject: don't allow "next" to alias "ref" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fe3483dfeb64744ab6803e07bdf76eed20df35;p=thirdparty%2Ffreeradius-server.git don't allow "next" to alias "ref" so that group-type attributes can happily coexist with other ones --- diff --git a/src/lib/util/dict.h b/src/lib/util/dict.h index c240c86e975..b93cde3e78e 100644 --- a/src/lib/util/dict.h +++ b/src/lib/util/dict.h @@ -119,13 +119,13 @@ struct dict_attr { union { struct { fr_dict_attr_t const **children; //!< Children of this attribute. - fr_dict_attr_t const *next; //!< Next child in bin. }; struct { fr_dict_t const *dict; //!< child dictionary fr_dict_attr_t const *ref; //!< reference }; }; + fr_dict_attr_t const *next; //!< Next child in bin. unsigned int depth; //!< Depth of nesting for this attribute.