]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set priority, too.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 18 Jul 2025 18:35:32 +0000 (14:35 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 19 Jul 2025 00:29:20 +0000 (20:29 -0400)
instead of having it left over from the previous instruction

src/lib/unlang/interpret.c

index 139408b67ee2c16e0e038a0ada97e195c031fb17..589ea3a1289d0a284724e9cd4791cd7f1ffe374a 100644 (file)
@@ -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;
 
                /*