ntp: enable auto burst with very short polling intervals
This fixes commit 5b75d4afef
.
This commit is contained in:
parent
c498c21fad
commit
99e3045df4
1 changed files with 1 additions and 1 deletions
|
@ -1144,7 +1144,7 @@ transmit_timeout(void *arg)
|
||||||
/* Start a new burst if the burst option is enabled and the average
|
/* Start a new burst if the burst option is enabled and the average
|
||||||
polling interval including the burst will not fall below the
|
polling interval including the burst will not fall below the
|
||||||
minimum polling interval */
|
minimum polling interval */
|
||||||
if (inst->auto_burst && inst->local_poll > inst->minpoll && inst->local_poll > 1)
|
if (inst->auto_burst && inst->local_poll > inst->minpoll)
|
||||||
NCR_InitiateSampleBurst(inst, BURST_GOOD_SAMPLES,
|
NCR_InitiateSampleBurst(inst, BURST_GOOD_SAMPLES,
|
||||||
MIN(1 << (inst->local_poll - inst->minpoll),
|
MIN(1 << (inst->local_poll - inst->minpoll),
|
||||||
MAX_BURST_TOTAL_SAMPLES));
|
MAX_BURST_TOTAL_SAMPLES));
|
||||||
|
|
Loading…
Reference in a new issue