From: Alan T. DeKok Date: Wed, 20 Jul 2022 14:36:14 +0000 (-0400) Subject: manually unwind indentation on cancel. Fixes #4622 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b223e65268fc74b0086f3aa2e5c1fbe22c0c2a3;p=thirdparty%2Ffreeradius-server.git manually unwind indentation on cancel. Fixes #4622 --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index bd491f97ac7..6c844750778 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -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;