From: Arran Cudbard-Bell Date: Thu, 23 Sep 2021 16:54:40 +0000 (-0500) Subject: Wrap time when calling sd_watchdog_event manually X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0973201126ef3fffbf3c1bd7f53b4ab95ee770c;p=thirdparty%2Ffreeradius-server.git Wrap time when calling sd_watchdog_event manually --- diff --git a/src/lib/server/main_loop.c b/src/lib/server/main_loop.c index 6b3597478c..2fda34f90d 100644 --- a/src/lib/server/main_loop.c +++ b/src/lib/server/main_loop.c @@ -208,7 +208,7 @@ int main_loop_start(void) /* * Start placating the watchdog (if told to do so). */ - if (sd_watchdog_interval > 0) sd_watchdog_event(event_list, 0, NULL); + if (sd_watchdog_interval > 0) sd_watchdog_event(event_list, fr_time_wrap(0), NULL); #endif ret = fr_event_loop(event_list);