]> git.ipfire.org Git - thirdparty/chrony.git/commit
local+reference: fix tracking offset after failed step
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 20 May 2025 05:59:38 +0000 (07:59 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 21 May 2025 10:41:13 +0000 (12:41 +0200)
commit082af24114a96bd8363bc61c9f0f3a5b9f490be4
tree5c0fb4eb5d273d78c11fff88ea39e36f9578ceca
parent577221295f043fc5f4f9d8cdeb36507e20cf6d30
local+reference: fix tracking offset after failed step

If a clock step enabled by the makestep directive or requested by the
makestep command fails, accumulate the missing step back to keep the
tracking offset valid.

This fixes time served by an instance configured with the makestep
directive and the -x option (the null driver cannot perform steps) at
the same time. It will still generate error log messages.
local.c
reference.c
test/simulation/128-nocontrol