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>
---
 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
  *
+ * 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
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to