]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: don't save timestamps if transmit_packet() failed
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 25 Oct 2021 08:23:41 +0000 (10:23 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 27 Oct 2021 14:22:08 +0000 (16:22 +0200)
commit189bf9c53612998515c3f131925c95f0fcf9de52
tree2ab94210cf7b59705943581a3aafab801fee61bf
parentc5dde9b66a9b2b7f6885c4b4d4493ac6d21a2fd7
ntp: don't save timestamps if transmit_packet() failed

Don't save server RX and TX timestamp to clientlog if the transmission
or authentication failed (e.g. packet is handled in ntp_signd). They
will not be needed.
ntp_core.c