mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
reference: don't update fallback drift on manual input
This fixes a crash due to assertion failure in update_fb_drifts() when fallbackdrift is enabled and manual input is provided.
This commit is contained in:
@@ -1076,7 +1076,7 @@ REF_SetReference(int stratum,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Update fallback drifts */
|
/* Update fallback drifts */
|
||||||
if (fb_drifts) {
|
if (fb_drifts && are_we_synchronised) {
|
||||||
update_fb_drifts(abs_freq_ppm, update_interval);
|
update_fb_drifts(abs_freq_ppm, update_interval);
|
||||||
schedule_fb_drift(&now);
|
schedule_fb_drift(&now);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user