From: Martin Burnicki Date: Mon, 16 Nov 2015 10:59:55 +0000 (+0100) Subject: [Bug 2965] Local clock didn't work since 4.2.8p4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf8b40f2571253891c23d6f3d71142094059375e;p=thirdparty%2Fntp.git [Bug 2965] Local clock didn't work since 4.2.8p4 bk: 5649b72bT4RP8ZCAf4PsxkONbIsJYw --- diff --git a/ChangeLog b/ChangeLog index cafc6ac0a..6fc6fb9a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ --- +* [Bug 2965] Local clock didn't work since 4.2.8p4. * [Sec 2956] small-step/big-step. Close the panic gate earlier. HStenn. * [Bug 2934] tests/ntpd/t-ntp_scanner.c has a magic constant wired in. HMurray * [Bug 2954] Version 4.2.8p4 crashes on startup with sig fault diff --git a/ntpd/refclock_local.c b/ntpd/refclock_local.c index d816c55c1..8c0f74f62 100644 --- a/ntpd/refclock_local.c +++ b/ntpd/refclock_local.c @@ -205,6 +205,7 @@ local_poll( pp->disp = 0; pp->jitter = 0; #else /* KERNEL_PLL LOCKCLOCK */ + pp->leap = LEAP_NOWARNING; pp->disp = DISPERSION; pp->jitter = 0; #endif /* KERNEL_PLL LOCKCLOCK */