]> git.ipfire.org Git - thirdparty/chrony.git/commit
reference: return real sync status in REF_GetReferenceParams()
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 8 Apr 2016 14:10:02 +0000 (16:10 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 8 Apr 2016 14:29:09 +0000 (16:29 +0200)
commit2aab6a85a456854219d76f8a20ccb790877d4aa2
tree60185fc96089ffae75662c7f17025987a12ad911
parent10719d6d350566acbbad5fddedf40e36f4142347
reference: return real sync status in REF_GetReferenceParams()

If local reference is active, return normal leap, but unsynchronised
status. Update the callers of the function to work with the leap
directly and not change their behaviour.

REF_IsLocalActive() is no longer needed.
ntp_core.c
refclock.c
reference.c
reference.h