ntp: don't stop online burst when sending fails

Don't stop online burst for unreachable sources until sending succeeds.
This is mainly useful with iburst when chronyd is started before the
network is configured.
This commit is contained in:
Miroslav Lichvar
2014-08-20 16:41:18 +02:00
parent d446950c6a
commit 4e66b5ce8a
3 changed files with 13 additions and 0 deletions

View File

@@ -1167,6 +1167,14 @@ SRC_IsSyncPeer(SRC_Instance inst)
/* ================================================== */
int
SRC_IsReachable(SRC_Instance inst)
{
return inst->reachability != 0;
}
/* ================================================== */
int
SRC_ReadNumberOfSources(void)
{