ntp: enable auto burst with very short polling intervals

This fixes commit 5b75d4afef.
This commit is contained in:
Miroslav Lichvar 2018-08-06 13:56:27 +02:00
parent c498c21fad
commit 99e3045df4

View file

@ -1144,7 +1144,7 @@ transmit_timeout(void *arg)
/* Start a new burst if the burst option is enabled and the average
polling interval including the burst will not fall below the
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,
MIN(1 << (inst->local_poll - inst->minpoll),
MAX_BURST_TOTAL_SAMPLES));