]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/ntp-fix-sycing-with-local-clock.patch
linux: Backport Hyper-V network driver
[ipfire-2.x.git] / src / patches / ntp-fix-sycing-with-local-clock.patch
CommitLineData
93d6eed9
MT
1# http://bugs.ntp.org/show_bug.cgi?id=2965
2
3From 6f68f1f0fd764f0006506e3957a5b8116726d443 Mon Sep 17 00:00:00 2001
4From: <burnicki/martin@pc-martin4.>
5Date: Mon, 16 Nov 2015 11:59:55 +0100
6Subject: [PATCH] [Bug 2965] Local clock didn't work since 4.2.8p4
7
8---
9 ntpd/refclock_local.c | 1 +
10 1 files changed, 1 insertions(+)
11
12diff --git a/ntpd/refclock_local.c b/ntpd/refclock_local.c
13index d816c55..8c0f74f 100644
14--- a/ntpd/refclock_local.c
15+++ b/ntpd/refclock_local.c
16@@ -205,6 +205,7 @@ local_poll(
17 pp->disp = 0;
18 pp->jitter = 0;
19 #else /* KERNEL_PLL LOCKCLOCK */
20+ pp->leap = LEAP_NOWARNING;
21 pp->disp = DISPERSION;
22 pp->jitter = 0;
23 #endif /* KERNEL_PLL LOCKCLOCK */