]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct comparison for end of retry period
authorNick Porter <nick@portercomputing.co.uk>
Mon, 21 Oct 2024 18:37:30 +0000 (19:37 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 21 Oct 2024 18:37:30 +0000 (19:37 +0100)
src/lib/util/retry.c

index a421aa617a9d0ee1de96b7d41ea2ff32b2eefa79..13f2a7c9b52694e0ddff88e53e293777c71746e8 100644 (file)
@@ -133,7 +133,7 @@ redo:
         *      wasn't set.  The initialization function above
         *      artificially caps MRD at one day.
         */
-       if (fr_time_cmp(now, r->end) <= 0) {
+       if (fr_time_cmp(now, r->end) >= 0) {
                r->state = FR_RETRY_MRD;
                return FR_RETRY_MRD;
        }