Check all Address statements when making outgoing connections.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 18 Oct 2018 13:59:24 +0000 (15:59 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 18 Oct 2018 14:13:51 +0000 (16:13 +0200)
commit1cf2b56fcc57073d952928da2338bdaff2cb7889
tree8dac529ded9a56315fa6beb7b046c51bf95a7d9d
parent5f76bc06fba1d4ab1cfa460fff5c2695e21cabae
Check all Address statements when making outgoing connections.

The logic in get_recent_address() caused tinc to only consider the first
Address statement that could be resolved to one or more IP addresses.
src/address_cache.c