kumquat-buildroot/package/busybox/1.22.0/0004-busybox-1.22.0-ntpd.patch
Peter Korsgaard 49cfa71e41 busybox: add upstream 1.22.0 fixes
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-09 16:26:03 +01:00

12 lines
328 B
Diff

--- 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);