From 5a21c8550ef9ed9cfcc4abed7d59e58017a306e5 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 20 Apr 2014 13:04:23 +0200 Subject: [PATCH] ntpd: fix wrong delay value in one of the printed messages Signed-off-by: Denys Vlasenko --- networking/ntpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/ntpd.c b/networking/ntpd.c index 2eec99f99..59607ed23 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c @@ -1784,7 +1784,7 @@ recv_and_process_peer_pkt(peer_t *p) prev_delay = p->p_raw_delay; p->p_raw_delay = delay; 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; } -- 2.25.1