Re: [chrony-dev] Leap seconds using SOCK driver

2016-12-28 Thread Miroslav Lichvar
On Mon, Dec 19, 2016 at 02:06:46PM -0600, Michael Scherer wrote: > We're presently using the SOCK driver with chrony, and I wanted to verify > the correct usage of the leap parameter. > As far as I can tell, setting leap to 1 will schedule the insertion of a > leap second, and won't apply it until

[chrony-dev] Leap seconds using SOCK driver

2016-12-19 Thread Michael Scherer
Hello, We're presently using the SOCK driver with chrony, and I wanted to verify the correct usage of the leap parameter. struct sock_sample { struct timeval tv; double offset; int pulse; int leap; int _pad; int magic; }; As far as I can tell, setting leap to 1 will schedule the i