From: Alan T. DeKok Date: Wed, 9 Feb 2022 17:03:19 +0000 (-0500) Subject: push xlats to the correct list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61a1ed4169896532f69030fe6fe761c9dc8dbb5f;p=thirdparty%2Ffreeradius-server.git push xlats to the correct list --- diff --git a/src/lib/unlang/xlat_expr.c b/src/lib/unlang/xlat_expr.c index 28e4a778f12..87c9a7e9a36 100644 --- a/src/lib/unlang/xlat_expr.c +++ b/src/lib/unlang/xlat_expr.c @@ -513,7 +513,7 @@ static xlat_action_t xlat_logical_resume(TALLOC_CTX *ctx, fr_dcursor_t *out, } -static xlat_action_t xlat_func_logical(TALLOC_CTX *ctx, fr_dcursor_t *out, +static xlat_action_t xlat_func_logical(TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out, xlat_ctx_t const *xctx, request_t *request, UNUSED fr_value_box_list_t *in) { @@ -530,7 +530,7 @@ static xlat_action_t xlat_func_logical(TALLOC_CTX *ctx, fr_dcursor_t *out, return XLAT_ACTION_FAIL; } - if (unlang_xlat_push(ctx, &rctx->last_success, out->dlist, + if (unlang_xlat_push(ctx, &rctx->last_success, &rctx->list, request, rctx->current, UNLANG_SUB_FRAME) < 0) goto fail; return XLAT_ACTION_PUSH_UNLANG;