]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
...and actually use the new enum
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 17 May 2024 14:29:36 +0000 (08:29 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 17 May 2024 14:29:36 +0000 (08:29 -0600)
src/lib/unlang/compile.c

index e07bedc3122a7fa46b553faa85e0ddabc731df9f..6b840a9be1c5f83f2616cdac49da40e7b0322585 100644 (file)
@@ -106,7 +106,7 @@ void compile_copy_context(unlang_compile_t *dst, unlang_compile_t const *src)
         *      Ensure that none of the actions are RETRY.
         */
        for (i = 0; i < RLM_MODULE_NUMCODES; i++) {
-               if (dst->actions.actions[i] == MOD_ACTION_RETRY) dst->actions.actions[i] = 0;
+               if (dst->actions.actions[i] == MOD_ACTION_RETRY) dst->actions.actions[i] = MOD_PRIORITY_MIN;
        }
        memset(&dst->actions.retry, 0, sizeof(dst->actions.retry)); \
 }