From 4e78975909bfc276272aab02734e8e9b84bf3068 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 19 Jan 2017 10:17:08 +0100 Subject: [PATCH] ntp: use current poll when backing off on KoD RATE --- ntp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntp_core.c b/ntp_core.c index 8ee5041..4a19f29 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;