Don't leave dead outgoing_t's in the outgoing_list.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 24 Nov 2015 15:48:44 +0000 (16:48 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 24 Nov 2015 15:48:44 +0000 (16:48 +0100)
commit9fdf4278f8c8c1563d45205c9e9f1bc351bd814f
tree4d713a2cd7b092a2ba5c82103b133536ac3904fe
parentc58eba587da3ac884c6c18b64c262aed8fd1c452
Don't leave dead outgoing_t's in the outgoing_list.

If an outgoing connection cannot be made because no address is known for
it, it should be removed from the outgoing_list, otherwise it will
prevent it from being re-added later when we do know addresses for it.
src/net_socket.c