mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 02:35:06 -05:00
sources: ignore inactive sources in special mode ending
This commit is contained in:
@@ -373,6 +373,10 @@ special_mode_end(void)
|
||||
int i;
|
||||
|
||||
for (i = 0; i < n_sources; i++) {
|
||||
/* No updates from inactive sources */
|
||||
if (!sources[i]->active)
|
||||
continue;
|
||||
|
||||
/* Don't expect more updates than from an offline iburst NTP source */
|
||||
if (sources[i]->reachability_size >= SOURCE_REACH_BITS - 1)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user