]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: don't check reference timestamp in received packets
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 1 Apr 2016 12:24:04 +0000 (14:24 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 1 Apr 2016 13:13:28 +0000 (15:13 +0200)
commit37e6357c02f731a65982263e66e3cc51b26f6f74
tree6f6636701e7f2efc626ad41e90c652bbf5434173
parent6accd19eb355ec61ca603540ee8f00b2956112bc
ntp: don't check reference timestamp in received packets

When ntpd as an NTP server has active orphan mode, it doesn't update
its reference time and the reference timestamp may fail the NTP test
3 and 7. (https://bugs.ntp.org/show_bug.cgi?id=1098)

Remove both checks of the timestamp to allow chronyd to operate as
a client of ntpd server in the orphan mode. When ntpd is fixed and
old versions are no longer used, this may be reverted.
ntp_core.c