Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 3.1-65-g0773a1e |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [GIT] chrony/chrony.git branch master updated. 3.1-65-g0773a1e
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 10 Jul 2017 11:52:09 +0200
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com C8D9FC04B303
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com C8D9FC04B303
On Sat, Jul 01, 2017 at 11:54:07AM +1200, Bryan Christianson wrote:
> Not sure if this is related to the current commits or if its an earlier issue.
> I had to exclude macOS from MOD_TAI because txc does NOT have a field called tai.
It is a bug. It seems only on Linux the timex struct has the tai
field. That explains why it needs to be set via the PLL constant
field.
The TAI offset is returned in the ntptimeval struct, which can be
obtained by the ntp_gettime() call. Unfortunately, on Linux that
doesn't work. There is ntp_gettimex() for that:
ntp_gettimex() performs the same task as ntp_gettime(), but
also returns information in the tai field.
I'll try to fix it.
Thanks,
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.