mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 16:55:06 -05:00
Source selection uses the last event time as current time. If it was called from a refclock which generates a sample in its poll function (e.g. PHC), the sample time may be later than the event time. This gives a negative elapsed time in SST_GetSelectionData() and possibly also a negative root distance, which causes the source to be rejected as a falseticker. Use absolute value of the difference in order to always get a positive root distance.
32 KiB
32 KiB