From: Alan T. DeKok Date: Wed, 13 Jul 2022 15:20:06 +0000 (-0400) Subject: don't merge flags quite as yet X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f008f9317f1d9513801a8531c1978c7b119da2;p=thirdparty%2Ffreeradius-server.git don't merge flags quite as yet the node may be re-written. We only merge flags when we're adding the node to a function argument list --- diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index 0a537b17584..2dec4df4023 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -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