mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:05:06 -05:00
sources: add option to limit selection by root distance
Add maxdistance directive to set the maximum root distance the sources are allowed to have to be selected. This is useful to reject NTPv4 sources that are no longer synchronized and report large dispersion. The default value is 3 seconds.
This commit is contained in:
1
conf.h
1
conf.h
@@ -86,6 +86,7 @@ extern double CNF_GetMaxClockError(void);
|
||||
extern double CNF_GetCorrectionTimeRatio(void);
|
||||
extern double CNF_GetMaxSlewRate(void);
|
||||
|
||||
extern double CNF_GetMaxDistance(void);
|
||||
extern double CNF_GetReselectDistance(void);
|
||||
extern double CNF_GetStratumWeight(void);
|
||||
extern double CNF_GetCombineLimit(void);
|
||||
|
||||
Reference in New Issue
Block a user