ntp: set maximum number of iburst samples to size of reach register

Explicitly set the number of iburst samples to the size of the register
to make sure there are at least 7 reachability updates and the
initstepslew mode can be ended.
This commit is contained in:
Miroslav Lichvar
2014-04-07 16:15:40 +02:00
parent 7fda9c6723
commit 70928dba52
3 changed files with 12 additions and 8 deletions

View File

@@ -34,6 +34,9 @@
#include "ntp.h"
#include "reports.h"
/* Size of the source reachability register */
#define SOURCE_REACH_BITS 8
/* This datatype is used to hold information about sources. The
instance must be passed when calling many of the interface
functions */