From: Alan T. DeKok Date: Fri, 18 Jul 2025 18:35:32 +0000 (-0400) Subject: set priority, too. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fee6883b9304486b0a7830c4160f7df766aa01a9;p=thirdparty%2Ffreeradius-server.git set priority, too. instead of having it left over from the previous instruction --- diff --git a/src/lib/unlang/interpret.c b/src/lib/unlang/interpret.c index 139408b67e..589ea3a128 100644 --- a/src/lib/unlang/interpret.c +++ b/src/lib/unlang/interpret.c @@ -872,7 +872,10 @@ unlang_frame_action_t frame_eval(request_t *request, unlang_stack_frame_t *frame * functions. It reduces boilerplate. */ case UNLANG_ACTION_FAIL: - frame->scratch_result.rcode = RLM_MODULE_FAIL; /* Let unlang_calculate figure out if this is the final result */ + /* + * Let unlang_calculate figure out if this is the final result + */ + frame->scratch_result = UNLANG_RESULT_RCODE(RLM_MODULE_FAIL); FALL_THROUGH; /*