]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: refactor switching between online and offline state
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 24 May 2018 11:42:52 +0000 (13:42 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 25 May 2018 08:53:21 +0000 (10:53 +0200)
commitce6b8969481d99c1d0a4fd68361f68907b1d5de2
tree149623e26126f8bb802971ef44dad33a65751495
parent2962fc62862c7c0d888d83a7b76e05bbc6416eb1
ntp: refactor switching between online and offline state

Use an enum to describe connectivity of a source and merge
the NCR and NSR TakeSourceOnline/Offline() functions into
SetConnectivity() functions.
client.c
cmdmon.c
cmdparse.c
conf.c
ntp_core.c
ntp_core.h
ntp_sources.c
ntp_sources.h
srcparams.h
stubs.c