]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Revert marking offline sources as unreachable
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 7 Apr 2011 12:44:56 +0000 (14:44 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 7 Apr 2011 12:44:56 +0000 (14:44 +0200)
sources.c

index 3a82b2b45f9a04b91b1a1382567019905e01171d..01b0f46e4264f37a2f3a33f6ea4bdbebd36fcdf0 100644 (file)
--- 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
 }
 
 /* ================================================== */