]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: allow selection of unreachable sources
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 17 Oct 2014 14:51:45 +0000 (16:51 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 20 Oct 2014 10:19:36 +0000 (12:19 +0200)
commit8f06245428a642f12bb74944396a4b5e59bc2f62
tree8659b72ff7af4b4c2455cdffa9b8e6a054f1947d
parent0f8368bcf11de81bb066d565140f71380a00c248
sources: allow selection of unreachable sources

Reachability is no longer a requirement for selection. An unreachable
source can remain selected if its newest sample is not older than the
oldest sample from all reachable sources.

This is useful to prevent reselection when an accurate source uses a
very short polling interval (e.g. refclock) and is occasionally
unreachable for short periods of time.
sources.c
sourcestats.c
sourcestats.h