summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/busybox/files/busybox-1.22.0-ntpd.patch')
-rw-r--r--sys-apps/busybox/files/busybox-1.22.0-ntpd.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/busybox/files/busybox-1.22.0-ntpd.patch b/sys-apps/busybox/files/busybox-1.22.0-ntpd.patch
new file mode 100644
index 000000000000..1334f577e6a2
--- /dev/null
+++ b/sys-apps/busybox/files/busybox-1.22.0-ntpd.patch
@@ -0,0 +1,11 @@
+--- busybox-1.22.0/networking/ntpd.c
++++ busybox-1.22.0-ntpd/networking/ntpd.c
+@@ -1445,6 +1445,8 @@ update_local_clock(peer_t *p)
+
+ run_script("step", offset);
+
++ recv_time += offset;
++
+ #if USING_INITIAL_FREQ_ESTIMATION
+ if (G.discipline_state == STATE_NSET) {
+ set_new_values(STATE_FREQ, /*offset:*/ 0, recv_time);