From: Miroslav Lichvar Date: Thu, 19 Jan 2017 09:17:08 +0000 (+0100) Subject: ntp: use current poll when backing off on KoD RATE X-Git-Tag: 3.1-pre1~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4e78975909bfc276272aab02734e8e9b84bf3068;p=thirdparty%2Fchrony.git ntp: use current poll when backing off on KoD RATE --- diff --git a/ntp_core.c b/ntp_core.c index 8ee5041a..4a19f298 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -1622,7 +1622,7 @@ receive_packet(NCR_Instance inst, NTP_Local_Address *local_addr, UTI_IPToString(&inst->remote_addr.ip_addr)); /* Back off for a while and stop ongoing burst */ - delay_time += 4 * (1UL << inst->minpoll); + delay_time += 4 * (1UL << inst->local_poll); if (inst->opmode == MD_BURST_WAS_OFFLINE || inst->opmode == MD_BURST_WAS_ONLINE) { inst->burst_good_samples_to_go = 0;