]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
reset time after doing significant work, and before running timers
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 Dec 2019 20:40:12 +0000 (15:40 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Dec 2019 20:40:12 +0000 (15:40 -0500)
src/lib/util/event.c

index e8fbfd6194d21cadf7dd9c951526afeef832e532..91f2849219605a3117686e937713b0e1c6c799dc 100644 (file)
@@ -1744,6 +1744,8 @@ service:
         */
        talloc_list_free(&el->fd_to_free);
 
+       el->now = el->time();
+
        /*
         *      Run all of the timer events.  Note that these can add
         *      new timers!