]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorNick Porter <nick@portercomputing.co.uk>
Thu, 2 May 2024 11:07:37 +0000 (12:07 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 2 May 2024 11:07:37 +0000 (12:07 +0100)
src/modules/rlm_totp/totp.c

index 76f4c30578c6df7937169cc70bed018df6780cf5..681eebdea02c7757b79d4d0d2a3f7f9bdccb412e 100644 (file)
@@ -163,7 +163,7 @@ int fr_totp_cmp(fr_totp_t const *cfg, request_t *request, time_t now, uint8_t co
                 */
                if ((then < now) && (i <= cfg->lookforward_steps)) {
                forwards:
-                       then = now + offset;
+                       then = now + diff;
                        goto repeat;
                }
        }