Proactively send our own key when we request another node's key.
This commit is contained in:
parent
c26bb47af1
commit
f3801cb543
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue