ntp: add burst option

When the burst option is specified in the server/pool directive and the
current poll is longer than the minimum poll, initiate on each poll a
burst with 1 good sample and 2 or 4 total samples according to the
difference between the current and minimum poll.
This commit is contained in:
Miroslav Lichvar
2018-02-27 17:35:16 +01:00
parent 7d100b89fc
commit d0eb9427c2
7 changed files with 28 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ typedef struct {
int online;
int auto_offline;
int presend_minpoll;
int burst;
int iburst;
int min_stratum;
int poll_target;