]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: don't send useless requests in interleaved client mode
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 2 Aug 2017 08:54:50 +0000 (10:54 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 9 Aug 2017 07:57:13 +0000 (09:57 +0200)
commitb896bb5a783d3fc741b94bf65616b69097b5ecaf
tree1259613e0e3f653d6b18f4054f022975ffd6ac73
parent64c2fd9888d02f5427a5df02a4b6c4a2abc3476b
ntp: don't send useless requests in interleaved client mode

In interleaved client mode, when so many consecutive requests were lost
that the first valid (interleaved) response would be dropped for being
too old, switch to basic mode so the response can be accepted if it
doesn't fail in the other tests.

This reworks commit 16afa8eb5022792c1b4bf08e3b01095ca5ebd0f5.
ntp_core.c
test/unit/ntp_core.c