]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
manually unwind indentation on cancel. Fixes #4622
authorAlan T. DeKok <aland@freeradius.org>
Wed, 20 Jul 2022 14:36:14 +0000 (10:36 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 20 Jul 2022 14:36:14 +0000 (10:36 -0400)
src/lib/unlang/interpret.c

index bd491f97ac7a47bbe71d413112266243825f5653..6c844750778ee8b4e7aca0544c977b4e8a412523 100644 (file)
@@ -1084,6 +1084,7 @@ void unlang_interpret_signal(request_t *request, fr_state_signal_t action)
        switch (action) {
        case FR_SIGNAL_CANCEL:
                unlang_interpret_request_stop(request);         /* Stop gets the request in a consistent state */
+               request->log.unlang_indent == 0;                /* nothing unwinds the indentation stack */
                unlang_interpret_request_done(request);         /* Done signals the request is complete */
                break;