From: Miroslav Lichvar Date: Thu, 7 Apr 2011 12:44:56 +0000 (+0200) Subject: Revert marking offline sources as unreachable X-Git-Tag: 1.25-pre2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e79584bb9e887f327eff99dffe25325bdbbf1ab8;p=thirdparty%2Fchrony.git Revert marking offline sources as unreachable --- diff --git a/sources.c b/sources.c index 3a82b2b4..01b0f46e 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 } /* ================================================== */