mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 22:55:06 -05:00
sources: reset reachability for offline sources
With the recent change allowing unreachable sources to remain selected, offline sources will now be selectable only for some time, similarly to online unreachable sources.
This commit is contained in:
@@ -405,13 +405,9 @@ SRC_UpdateReachability(SRC_Instance inst, int reachable)
|
||||
void
|
||||
SRC_ResetReachability(SRC_Instance inst)
|
||||
{
|
||||
/* This should be disabled until source selection is modified to keep
|
||||
a peer selected even when not reachable */
|
||||
#if 0
|
||||
inst->reachability = 0;
|
||||
inst->reachability_size = 0;
|
||||
SRC_UpdateReachability(inst, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user