]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: fix loop test for special reference modes
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 6 Apr 2021 16:05:54 +0000 (18:05 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 7 Apr 2021 15:14:22 +0000 (17:14 +0200)
commit2ca2c853655801488f7cafac57f94965d0d2ce65
tree9f1d65731f762c0fc5d0b37c94067aa40f8fb2bf
parent966e6fd939df724235a93e7a89dd7cf67178f99d
ntp: fix loop test for special reference modes

It is not sufficient to check for disabled server sockets as they are
not open only after the special reference modes end (e.g. initstepslew).

Fixes: 004986310d2a ("ntp: skip loop test if no server socket is open")
ntp_core.c