Proactively send our own key when we request another node's key.

This commit is contained in:
Guus Sliepen 2015-01-10 23:52:23 +01:00
parent c26bb47af1
commit f3801cb543

View file

@ -1111,6 +1111,11 @@ static void try_tx_sptps(node_t *n) {
}
static void try_tx_legacy(node_t *n) {
/* Does he have our key? If not, send one. */
if(!n->status.validkey_in)
send_ans_key(n);
/* Check if we already have a key, or request one. */
if(!n->status.validkey) {