]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: reconnect client sockets
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 4 Aug 2014 13:49:29 +0000 (15:49 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 5 Aug 2014 10:57:36 +0000 (12:57 +0200)
commit43cca04c339ff4e919b3b51a7eac993a3bc3d060
tree7d06984e688284a93a8e43224d466afc697efbf2
parent17d944c33383407468d420ed4f43269015c79f52
ntp: reconnect client sockets

With separate client sockets, allow the initial connect() to fail (e.g.
when the network is not reachable yet) and try to connect later when
sending the packet.

Also, reconnect the socket when the local address has changed.
ntp_io.c