Don't keep an address cache in an outgoing_t.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 17 Jul 2019 23:33:38 +0000 (01:33 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 17 Jul 2019 23:33:38 +0000 (01:33 +0200)
commitba0a3bcb2d565eec26aed30eef902d3482877cf9
tree12572d2af2dd1264c45b0da68dd476e1d8442894
parent7b55200887d05c29abb8cea31aa914e03b806e9a
Don't keep an address cache in an outgoing_t.

Address caches are associated with nodes, so just use the address cache
in the node_t struct. Also ensure we always have opened an address cache in
setup_outgoing_connection().

Thanks to admincheg for finding this issue.
src/net.h
src/net_socket.c
src/protocol_misc.c