]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
more set head->el
authorAlan T. DeKok <aland@freeradius.org>
Sat, 7 Oct 2023 13:07:45 +0000 (09:07 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 7 Oct 2023 13:07:45 +0000 (09:07 -0400)
src/lib/unlang/xlat_expr.c
src/lib/unlang/xlat_tokenize.c

index 7a2b6482540b548089f4ce33fb337e410c709c9d..94e09ea0c264b8c5a1077ccfdb86ab4a07834253 100644 (file)
@@ -2982,7 +2982,7 @@ fr_slen_t xlat_tokenize_ephemeral_expression(TALLOC_CTX *ctx, xlat_exp_head_t **
                                                                 terminal_rules->terminals,
                                                                 &bracket_terms));
        MEM(head = xlat_exp_head_alloc(ctx));
-
+       head->el = el;
 
        if (t_rules) {
                my_rules = *t_rules;
index 2899537fe3694c4f2756f3843093bb7b178659ec..204445b9057ef3f55c6f74a0ae9d1cb1ee7b6d1e 100644 (file)
@@ -585,6 +585,7 @@ int xlat_tokenize_function_args(xlat_exp_head_t *head, fr_sbuff_t *in,
                goto error;
        }
        xlat_flags_merge(&node->flags, &node->call.args->flags);
+       node->call.args->el = head->el;
 
        /*
         *      Check we have all the required arguments