[Git][NTPsec/ntpsec][master] Add leapsmearinterval/leapsmearoffset to default system variable list

Ian Bruene gitlab at mg.gitlab.com
Thu May 31 16:17:59 UTC 2018


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
c6c6371b by Matt Selsky at 2018-05-31T15:46:06Z
Add leapsmearinterval/leapsmearoffset to default system variable list

We need to report these system variables when ntpd is built with leapsmear
support

Fix Gitlab #476

- - - - -


1 changed file:

- ntpd/ntp_control.c


Changes:

=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -439,6 +439,10 @@ static const uint8_t def_sys_var[] = {
 	CS_TAI,
 	CS_LEAPTAB,
 	CS_LEAPEND,
+#ifdef ENABLE_LEAP_SMEAR
+	CS_LEAPSMEARINTV,
+	CS_LEAPSMEAROFFS,
+#endif	/* ENABLE_LEAP_SMEAR */
 	0
 };
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c6c6371bc7f90afd507ff4ca38056d2bfc6fd364

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c6c6371bc7f90afd507ff4ca38056d2bfc6fd364
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180531/cd48f2fe/attachment.html>


More information about the vc mailing list