summaryrefslogtreecommitdiff
blob: 1334f577e6a2dd0296f2f2b5867fb80c875b211b (plain)
1
2
3
4
5
6
7
8
9
10
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);