]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: skip loop test if no server socket is open
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 11 Sep 2019 16:35:29 +0000 (18:35 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 12 Sep 2019 11:01:18 +0000 (13:01 +0200)
commit004986310d2a744f354f83489c3d215004f4f26a
tree5bcb13fb12f3b032e296c5c5844246f4bc5d2a69
parent7a88e0a87b3b2d3efbd7726451ef71b257e27673
ntp: skip loop test if no server socket is open

If there is no socket that could receive a request from a client or
peer, we know that nothing can be synchronized to us and no loop is
possible.
ntp_core.c
ntp_io.c
ntp_io.h
test/unit/ntp_core.c