]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
If the frame is cancelled, don't run next
authorNick Porter <nick@portercomputing.co.uk>
Wed, 18 Jun 2025 10:33:47 +0000 (11:33 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 18 Jun 2025 12:53:22 +0000 (13:53 +0100)
src/lib/unlang/interpret.c

index b6874380904b0f8ebaf73be770cd7e8671ffb1a6..737c8cd8924e9cd0060ab49bd184de2d0569f50b 100644 (file)
@@ -1019,7 +1019,7 @@ CC_HINT(hot) rlm_rcode_t unlang_interpret(request_t *request, bool running)
                         *      the result is being consumed by a module.
                         */
                        if (private_result) {
-                               fa = UNLANG_FRAME_ACTION_NEXT;
+                               fa = is_unwinding(frame) ? UNLANG_FRAME_ACTION_POP : UNLANG_FRAME_ACTION_NEXT;
                        /*
                         *      Merge lower frame into higher frame.
                         *