Forget addresses of unreachable nodes.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 8 Dec 2009 22:18:37 +0000 (22:18 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 8 Dec 2009 22:18:37 +0000 (22:18 +0000)
commit369fe1ab1cbfc3f8305de1faab2e30157378b044
tree29a44ead9d670257edd4ee280a2d235826e73cfc
parent62f235e05c54e458724f437e519ed1b3e17835b1
Forget addresses of unreachable nodes.

We clear the cached address used for UDP connections when a node becomes
unreachable. This also prevents host-up scripts from passing the old, cached
address from when the host becomes reachable again from a different address.
src/graph.c