From 9bbb6224809a2b3d4e8c0d94ffbfa684d294cf2e Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Mon, 1 Sep 2025 09:58:23 -0400 Subject: [PATCH] reset "now". Fixes #5642 because if you change the OS date to 25 years in the future, then bad things happen. --- src/main/process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/process.c b/src/main/process.c index df02f2ff39..5e74169486 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -386,6 +386,7 @@ static void sd_watchdog_event(void *ctx) DEBUG("Emitting systemd watchdog notification"); sd_notify(0, "WATCHDOG=1"); + fr_event_now(s->el, &s->when); timeradd(&s->when, &sd_watchdog_interval, &s->when); if (!fr_event_insert(s->el, sd_watchdog_event, ctx, &s->when, &sd_watchdog_ev)) { rad_panic("Failed to insert event"); -- 2.47.3