refclock: add tai option

This option is for indicating to chronyd that the reference clock is
kept in TAI and that chrony should attempt to convert from TAI to UTC by
using the timezone configured by the "leapsectz" directive.
This commit is contained in:
Chris Perl
2017-10-10 13:23:21 -04:00
committed by Miroslav Lichvar
parent a0fe71eef1
commit f5d1b8fb74
4 changed files with 30 additions and 1 deletions

View File

@@ -44,6 +44,7 @@ typedef struct {
int sel_options;
int max_lock_age;
int stratum;
int tai;
uint32_t ref_id;
uint32_t lock_ref_id;
double offset;