From e79584bb9e887f327eff99dffe25325bdbbf1ab8 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 7 Apr 2011 14:44:56 +0200 Subject: [PATCH] Revert marking offline sources as unreachable --- sources.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sources.c b/sources.c index 3a82b2b..01b0f46 100644 --- a/sources.c +++ b/sources.c @@ -368,8 +368,12 @@ 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; SRC_UpdateReachability(inst, 0); +#endif } /* ================================================== */