]> git.ipfire.org Git - thirdparty/chrony.git/commit
nts: destroy NTS-KE client right after failed start
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Feb 2023 13:58:29 +0000 (14:58 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Feb 2023 14:01:45 +0000 (15:01 +0100)
commita1406eded39e3f607f5fbc5fa3a5f8720a1e5bc1
treea80f3bb7f61d1ecd2fd8ffa2d0a6c11de3f48847
parent1eb8994c0052ac746f5084ff375fcd9896b93452
nts: destroy NTS-KE client right after failed start

When NKC_Start() fails (e.g. due to unreachable network), don't wait for
the next poll to destroy the client and another poll to create and start
it again.
nts_ntp_client.c