]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: add flag that source is active
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 10 Apr 2014 14:53:28 +0000 (16:53 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 10 Apr 2014 15:48:58 +0000 (17:48 +0200)
commit8671002bd7bcf72d517046cecebda23df07495ae
tree9c26ec6783bfb26ed6e54bc58eb7f2c73ecc6aa6
parentbc6b40568d90a206bc74b7d15ba8a4e3d4f735ae
sources: add flag that source is active

When source is set as active, it's receiving reachability updates (e.g.
offline NTP sources are not active).

Also add function to count active sources.
ntp_core.c
refclock.c
sources.c
sources.h