[Git][NTPsec/ntpsec][master] Fixed missing conversion of "sys_leap" to "sys_vars.sys_leap".
Ian Bruene
gitlab at mg.gitlab.com
Sun May 20 21:02:26 UTC 2018
Ian Bruene pushed to branch master at NTPsec / ntpsec
Commits:
25d9d757 by Ian Bruene at 2018-05-20T20:56:16Z
Fixed missing conversion of "sys_leap" to "sys_vars.sys_leap".
Bug #484.
- - - - -
1 changed file:
- ntpd/ntpd.c
Changes:
=====================================
ntpd/ntpd.c
=====================================
--- a/ntpd/ntpd.c
+++ b/ntpd/ntpd.c
@@ -1015,7 +1015,7 @@ static void mainloop(void)
*/
# if defined(HAVE_DNS_SD_H) && defined(ENABLE_MDNS_REGISTRATION)
- if (mdnsreg && (current_time - mdnsreg ) > 60 && mdnstries && sys_leap != LEAP_NOTINSYNC) {
+ if (mdnsreg && (current_time - mdnsreg ) > 60 && mdnstries && sys_vars.sys_leap != LEAP_NOTINSYNC) {
mdnsreg = current_time;
msyslog(LOG_INFO, "INIT: Attempting to register mDNS");
if ( DNSServiceRegister (&mdns, 0, 0, NULL, "_ntp._udp", NULL, NULL,
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/25d9d757be56820ceeec903436b19927032de132
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/25d9d757be56820ceeec903436b19927032de132
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/20180520/7d48a270/attachment.html>
More information about the vc
mailing list