]> git.ipfire.org Git - thirdparty/chrony.git/commit
reference: don't report zero stratum when synchronised
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 25 Jul 2017 09:27:24 +0000 (11:27 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 25 Jul 2017 15:40:35 +0000 (17:40 +0200)
commite8fb11c4330f70f620353c5ba2292edf8068281c
treef3ec554d7fe20c371706719adf78e432f60d4c7e
parent01a29c7a11f0aea21e99dfcc4e7615e5d938dd74
reference: don't report zero stratum when synchronised

If synchronised to a stratum 15 source, return stratum of 16 instead of
0 in the tracking report. It will not match the value in server mode
packets, but it should be less confusing.
reference.c