From 05809e937c6ef00c5411869cd8c95a674fdf9745 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 5 Jun 2023 15:18:27 +0200 Subject: [PATCH] ntp: add debug message for bad sources --- sources.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sources.c b/sources.c index 730ac55..daea2f7 100644 --- a/sources.c +++ b/sources.c @@ -504,6 +504,7 @@ SRC_UpdateReachability(SRC_Instance inst, int reachable) ((!inst->reachability && inst->reachability_size == SOURCE_REACH_BITS) || inst->status == SRC_BAD_DISTANCE || inst->status == SRC_JITTERY || inst->status == SRC_FALSETICKER)) { + DEBUG_LOG("Bad source status=%c", get_status_char(inst->status)); NSR_HandleBadSource(inst->ip_addr); } }