ntpd: fix wrong delay value in one of the printed messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
d531f93f64
commit
5a21c8550e
@ -1784,7 +1784,7 @@ recv_and_process_peer_pkt(peer_t *p)
|
|||||||
prev_delay = p->p_raw_delay;
|
prev_delay = p->p_raw_delay;
|
||||||
p->p_raw_delay = delay;
|
p->p_raw_delay = delay;
|
||||||
if (p->reachable_bits && delay > prev_delay * BAD_DELAY_GROWTH) {
|
if (p->reachable_bits && delay > prev_delay * BAD_DELAY_GROWTH) {
|
||||||
bb_error_msg("reply from %s: delay %f is too high, ignoring", p->p_dotted, p->lastpkt_delay);
|
bb_error_msg("reply from %s: delay %f is too high, ignoring", p->p_dotted, delay);
|
||||||
goto pick_normal_interval;
|
goto pick_normal_interval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user