]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2965] Local clock didn't work since 4.2.8p4
authorMartin Burnicki <burnicki@ntp.org>
Mon, 16 Nov 2015 10:59:55 +0000 (11:59 +0100)
committerMartin Burnicki <burnicki@ntp.org>
Mon, 16 Nov 2015 10:59:55 +0000 (11:59 +0100)
bk: 5649b72bT4RP8ZCAf4PsxkONbIsJYw

ChangeLog
ntpd/refclock_local.c

index cafc6ac0ae39c6184717a9a799ba68243f24a73a..6fc6fb9a40ce52567ca86661e248396c0f83fb19 100644 (file)
--- 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
index d816c55c128121a63a2cd7e2c2f1a9e8b8cca92e..8c0f74f62c24cb09367555c034d18aabb7016ed4 100644 (file)
@@ -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 */