On 11/21/2023 10:15 AM, Erez wrote: > Hi, > > The leap file from IETF was removed. > Seems ftp.nist.gov <http://ftp.nist.gov> is no longer available. > And I could not find "leap-seconds.list" on nist.gov <http://nist.gov> > I did find the information in web page: > https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds > > <https://www.nist.gov/pml/time-and-frequency-division/time-realization/leap-seconds> > > Perhaps we should remove these obsolete URLs? > > Erez
Sure - can do that. Regards Maciek > > > > On Tue, 21 Nov 2023 at 09:35, Maciek Machnikowski > <mac...@machnikowski.net <mailto:mac...@machnikowski.net>> wrote: > > No leap seconds will happen till 28 June 2024. Update leapfile validity > accordingly. > Add a new source of leapsecond file from the IERS. > > Signed-off-by: Maciek Machnikowski <mac...@machnikowski.net > <mailto:mac...@machnikowski.net>> > --- > lstab.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/lstab.c b/lstab.c > index df8cce0..2aa87be 100644 > --- a/lstab.c > +++ b/lstab.c > @@ -27,6 +27,8 @@ > * > * ftp://ftp.nist.gov/pub/time/leap-seconds.list > <ftp://ftp.nist.gov/pub/time/leap-seconds.list> > * > + * https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list > <https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list> > + * > * When updating this table, do not forget to set N_HISTORICAL_LEAPS > * and the expiration date. > */ > @@ -51,7 +53,7 @@ struct lstab { > int length; > }; > > -static const uint64_t expiration_date_ntp = 3912710400ULL; /* 28 > December 2023 */ > +static const uint64_t expiration_date_ntp = 3928521600ULL; /* 24 > June 2024 */ > > static const uint64_t offset_table[N_LEAPS * 2] = { > 2272060800ULL, 10, /* 1 Jan 1972 */ > -- > 2.30.2 > > > > _______________________________________________ > Linuxptp-devel mailing list > Linuxptp-devel@lists.sourceforge.net > <mailto:Linuxptp-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/linuxptp-devel > <https://lists.sourceforge.net/lists/listinfo/linuxptp-devel> > _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel