CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2021/04/21 03:38:11

Modified files:
        usr.sbin/ntpd  : client.c control.c 

Log message:
Improve ntpd offset handling.  Call the index of the offset loops
"shift" consistently.  Merge the two offset loops in client_update()
into one.  Use a simple assignment for the best value instead of
memcpy().  Use the same mechanism to loop over the offset array
everywhere to avoid an invalid best value.
tested by weerd@; OK claudio@

Reply via email to