Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
timemaster: fix PTP poll configuration for timemaster >=4.2
When using timemaster >= 4.2 (currently in Debian Sid), the chrony config looks like: refclock SOCK /var/run/timemaster/chrony.SOCK0 poll 2 filter 4 refid PTP0 precision 1.0e-9 delay 1.0e-09 poll 0 The double poll definition triggers a weird behavior in chrony: PTP is poll'd every 4s but the Reach/LastRx computation expect a poll every second. This makes the PTP source looks unreliable (wrongly). Fix this by using the proper config to setup the PTP poll period "ntp_poll" (sic) New config look like: refclock SOCK /var/run/timemaster/chrony.SOCK0 poll 0 filter 4 refid PTP0 precision 1.0e-9 delay 1.0e-09 Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
- Loading branch information