From 5d7df6911673d92e60c0f017a602a4bd10776bff Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Fri, 17 Oct 2014 17:22:00 +0200 Subject: [PATCH] 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. --- sources.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sources.c b/sources.c index 14e55d3..bac56cf 100644 --- a/sources.c +++ b/sources.c @@ -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 } /* ================================================== */