]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
let's take the result back up the stack
authorAlan T. DeKok <aland@freeradius.org>
Mon, 7 Jul 2025 16:07:18 +0000 (12:07 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 7 Jul 2025 16:43:34 +0000 (12:43 -0400)
src/lib/unlang/load_balance.c

index 94604b7c5521bb22792aea19e4f8fd4fec0bf27d..4a333fe6df928c96dc0c0f5ea45497d82ecfb3b5 100644 (file)
@@ -224,7 +224,7 @@ static unlang_action_t unlang_load_balance(unlang_result_t *p_result, request_t
         *      Plain "load-balance".  Just do one child.
         */
        if (frame->instruction->type == UNLANG_TYPE_LOAD_BALANCE) {
-               if (unlang_interpret_push(NULL, request, redundant->found,
+               if (unlang_interpret_push(p_result, request, redundant->found,
                                          FRAME_CONF(RLM_MODULE_NOT_SET, UNLANG_SUB_FRAME), UNLANG_NEXT_STOP) < 0) {
                        return UNLANG_ACTION_STOP_PROCESSING;
                }