Set maxupdateskew to 1000 ppm by default

This will prevent from using unreliable frequency estimate on iburst
when starting without drift file.
This commit is contained in:
Miroslav Lichvar 2010-04-23 12:53:26 +02:00
parent 93b5b08bed
commit ab68a9d1d3
2 changed files with 2 additions and 1 deletions

View file

@ -2207,6 +2207,7 @@ loss rate is not very reliable.
The @code{maxupdateskew} parameter allows the threshold for determining The @code{maxupdateskew} parameter allows the threshold for determining
whether an estimate may be so unreliable that it should not be used. whether an estimate may be so unreliable that it should not be used.
By default, the threshold is 1000 ppm.
The syntax is The syntax is

2
conf.c
View file

@ -117,7 +117,7 @@ static char *keys_file = NULL;
static char *drift_file = NULL; static char *drift_file = NULL;
static char *rtc_file = NULL; static char *rtc_file = NULL;
static unsigned long command_key_id; static unsigned long command_key_id;
static double max_update_skew = DBL_MAX; static double max_update_skew = 1000.0;
static int cmd_port = -1; static int cmd_port = -1;