]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
no need to set "dict" for attributes of type "group"
authorAlan T. DeKok <aland@freeradius.org>
Sun, 15 Mar 2020 19:25:18 +0000 (15:25 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 15 Mar 2020 19:25:18 +0000 (15:25 -0400)
It's now in da->ref->dict

And we don't want to over-ride *our* definition of da->dict, which
points to the parent dictionary for this attribute.

src/lib/util/dict_tokenize.c

index adc18557e1d6b7eaf81bd11634a101ccc359f8dd..3924ab871b24b5877efec8fd3f5db1f004c66c98 100644 (file)
@@ -1571,7 +1571,6 @@ static int fr_dict_finalise(dict_tokenize_ctx_t *ctx)
                        }
 
                        talloc_free(this->ref);
-                       this->da->dict = dict;
                        this->da->ref = da;
 
                        next = this->next;