chiark / gitweb /
timesyncd: fix calculation of transmit time
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 27 Aug 2014 14:47:18 +0000 (16:47 +0200)
committerKay Sievers <kay@vrfy.org>
Fri, 29 Aug 2014 16:13:02 +0000 (18:13 +0200)
commit73c76e6330d31e1d04454fd7408dd56b4eedca9f
treeda798d39f7118e9962f54eaa1d40b71dba6a78c2
parent07610e108e2d3f046da683a3a69c4d5cccd2cf8e
timesyncd: fix calculation of transmit time

The kernel timestamp (recv_time) is made earlier than current time
(now_ts), use the timestamp captured before sending packet directly.
src/timesync/timesyncd-manager.c