]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: reorder unsynchronised source status
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 29 Apr 2024 12:45:23 +0000 (14:45 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 30 Apr 2024 13:52:18 +0000 (15:52 +0200)
commit1affd03ccad838ce45344c041f84fcc465b3b4b6
treebb4fd0faf07900c0a056daf44431f343ae8fa632
parent276591172eac68ec3345c00d81624d89b5372c05
sources: reorder unsynchronised source status

In the source selection, check for the unsynchronized leap status after
getting sourcestats data. The unsynchronized source status is supposed
to indicate an unsynchronized source that is providing samples, not a
source which doesn't have any samples.

Also, fix the comment describing the status.

Fixes: 4c29f8888c76 ("sources: handle unsynchronized sources in selection")
doc/chronyc.adoc
sources.c
test/system/007-cmdmon