diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-04-21 09:38:12 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2021-04-21 09:38:12 +0000 |
commit | 999ad48794cf160aeb5bdab915e068996d39e83b (patch) | |
tree | 8fc4042e8ebf024be60eeae07bd5a61846ceceaf /sys | |
parent | 74ed55ee8ad66b233e4380727cec02e939c7777b (diff) |
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@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions