projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96f92a1
)
ntpd: adjust last packet's recv time after a step
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 8 Jan 2014 16:17:52 +0000
(17:17 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 8 Jan 2014 16:17:52 +0000
(17:17 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ntpd.c
patch
|
blob
|
history
diff --git
a/networking/ntpd.c
b/networking/ntpd.c
index ed83415b4784fafa23859dad16ee4eae0869aec0..c4b018778bede083be3244eba4386605653abba1 100644
(file)
--- a/
networking/ntpd.c
+++ b/
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);