Avoid trying to send an ANS_KEY request to unreachable nodes.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Jul 2021 12:52:27 +0000 (14:52 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 27 Jul 2021 12:52:27 +0000 (14:52 +0200)
commitb8495a806b083bdd63a5ed3ef35e5badb415c7f4
tree0c87bd71161800a133b4bd4af61f826eb8ca1eb5
parentf7f7d8b15e12471c95bbd291195e83c5126a0631
Avoid trying to send an ANS_KEY request to unreachable nodes.

We could have a REQ_KEY coming from a node that is not reachable; either
because DEL_EDGEs have overtaken the REQ_KEY, or perhaps if TunnelServer
is used and some nodes have a different view of reachability.
src/protocol_key.c