]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print correct frame index when reporting frame popping
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 21 Jul 2025 21:54:59 +0000 (14:54 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 21 Jul 2025 21:55:43 +0000 (14:55 -0700)
src/lib/unlang/interpret.c

index 4861e250b05bf619fd5b16659aff5f177231cae1..f4efc435e64cc925022dccf48b97e72746356a71 100644 (file)
@@ -1003,7 +1003,7 @@ CC_HINT(hot) rlm_rcode_t unlang_interpret(request_t *request, bool running)
                         *      Head on back up the stack
                         */
                        frame_pop(request, stack);
-                       RDEBUG4("** [%i] %s - frame popped", stack->depth, __FUNCTION__);
+                       RDEBUG4("** [%i] %s - frame popped", stack->depth + 1, __FUNCTION__);
 
                        /*
                         *      Update the stack frame