mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 07:55:07 -05:00
ntp: add debug message for bad sources
This commit is contained in:
@@ -504,6 +504,7 @@ SRC_UpdateReachability(SRC_Instance inst, int reachable)
|
|||||||
((!inst->reachability && inst->reachability_size == SOURCE_REACH_BITS) ||
|
((!inst->reachability && inst->reachability_size == SOURCE_REACH_BITS) ||
|
||||||
inst->status == SRC_BAD_DISTANCE || inst->status == SRC_JITTERY ||
|
inst->status == SRC_BAD_DISTANCE || inst->status == SRC_JITTERY ||
|
||||||
inst->status == SRC_FALSETICKER)) {
|
inst->status == SRC_FALSETICKER)) {
|
||||||
|
DEBUG_LOG("Bad source status=%c", get_status_char(inst->status));
|
||||||
NSR_HandleBadSource(inst->ip_addr);
|
NSR_HandleBadSource(inst->ip_addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user