]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: use previous root delay/disp in interleaved mode
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 26 Oct 2021 12:41:49 +0000 (14:41 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 27 Oct 2021 14:22:12 +0000 (16:22 +0200)
commit952c3b2528aacbdd8d82c4c6045810bdb00557a3
treeae20ef1e2e35f8e37c8628d648c52009035d4519
parentd92d24ad7fbdb29cc37e5411d4cb568c1b6312cb
ntp: use previous root delay/disp in interleaved mode

When calculating the root delay and dispersion of a sample measured in
the interleaved mode, use the root delay and dispersion values from
the previous response (to which the TX timestamp corresponds). If the TX
timestamp is combined with the RX timestamp of the latest response (e.g.
in the symmetric mode), use the maximum of the previous and latest root
delay/dispersion.
ntp_core.c