]> git.ipfire.org Git - thirdparty/chrony.git/commit
Make importance of stratum in source selection configurable
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 25 Jan 2011 16:22:00 +0000 (17:22 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 25 Jan 2011 16:40:46 +0000 (17:40 +0100)
commit9cf08fc780acf4f1650d584e6b881325f8f2a20e
tree7c924f4c68d41c5feca5c6c88ad05192d3576894
parentb712b3a979fb4525f9b4bf8e9d77e1c07ac78a3a
Make importance of stratum in source selection configurable

Instead of always selecting the source with minimum stratum, add weighted
stratum to the distance when comparing selectable sources. The weight
can be configured with new stratumweight directive and can be set to
zero to ignore stratum completely, by default 1.0.
chrony.texi
conf.c
conf.h
sources.c