]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: don't check for synchronization loop in special reference modes
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 12 May 2016 13:43:42 +0000 (15:43 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 13 May 2016 11:47:12 +0000 (13:47 +0200)
commitb48e4421debd448eb9a25f6fd592129e6d2b5690
tree9d180ca9173f6a490b9c70c83fc71bdcd3118b25
parentd1f4e5876b55ca740276185a5e8364390275172a
ntp: don't check for synchronization loop in special reference modes

If a special reference mode is enabled, always pass the test for
synchronization loop. This allows chronyd using the initstepslew
directive (or the -q/-Q option) to accept time from its own clients
after restart as is documented in the chrony.conf man page.

This was broken since update to NTPv4.
ntp_core.c