]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: initialize saved TX timestamp
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 25 Oct 2021 08:18:27 +0000 (10:18 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 27 Oct 2021 10:31:36 +0000 (12:31 +0200)
commitc5dde9b66a9b2b7f6885c4b4d4493ac6d21a2fd7
tree0414979069377cba321c5e2598efb734ad3d215f
parent1fb60f8db80ded51691786397c72de755d22f977
ntp: initialize saved TX timestamp

Zero the initial TX timestamp which is saved for the interleaved
mode in case there is no previous timestamp saved in clientlog and
transmit_packet() does not generate a new one (e.g. due to failure in
authentication).

Fixes: 5f4cbaab7e0e ("ntp: optimize detection of clients using interleaved mode")
ntp_core.c