From: Arran Cudbard-Bell Date: Sun, 1 Jun 2025 16:03:23 +0000 (-0600) Subject: Make the logging destination resumption function transparent in terms of rcodes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b89126a9c2bde0a2e2948974bcdbe88d5f9bcb2c;p=thirdparty%2Ffreeradius-server.git Make the logging destination resumption function transparent in terms of rcodes --- diff --git a/src/lib/server/virtual_servers.c b/src/lib/server/virtual_servers.c index cfbe7324329..f037f133bce 100644 --- a/src/lib/server/virtual_servers.c +++ b/src/lib/server/virtual_servers.c @@ -781,9 +781,11 @@ unlang_action_t virtual_server_push(unlang_result_t *p_result, request_t *reques if (unlang_interpret_stack_depth(request) > 1) { unlang_action_t action; - action = unlang_function_push(NULL, request, NULL, /* don't call it immediately */ - server_remove_log_destination, /* but when we pop the frame */ - server_signal_remove_log_destination, FR_SIGNAL_CANCEL, + action = unlang_function_push(unlang_interpret_result(request), /* transparent */ + request, + NULL, /* don't call it immediately */ + server_remove_log_destination, /* but when we pop the frame */ + server_signal_remove_log_destination, ~(FR_SIGNAL_CANCEL), top_frame, vs); if (action != UNLANG_ACTION_PUSHED_CHILD) return action;