]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't merge flags quite as yet
authorAlan T. DeKok <aland@freeradius.org>
Wed, 13 Jul 2022 15:20:06 +0000 (11:20 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Jul 2022 14:04:01 +0000 (10:04 -0400)
the node may be re-written.  We only merge flags when we're adding
the node to a function argument list

src/lib/unlang/xlat_expr.c

index 0a537b175840fff3219e5a842ad49747aabf08c8..2dec4df402345aa8073f44d3f8a88b04c343a2bf 100644 (file)
@@ -2240,7 +2240,6 @@ static ssize_t tokenize_field(xlat_exp_head_t *head, xlat_exp_t **out, fr_sbuff_
                node->flags.pure = tmpl_is_data(node->vpt);
                node->flags.needs_resolving = tmpl_needs_resolving(node->vpt);
        }
-       xlat_flags_merge(&head->flags, &node->flags);
 
        /*
         *      Try and add any unknown attributes to the dictionary