Trigger a sas key lookup when peers are reachable

This commit is contained in:
Jeremy Lakeman 2012-08-14 13:57:38 +09:30
parent 51de755be2
commit e302238b29

View File

@ -886,6 +886,9 @@ int overlay_route_recalc_node_metrics(overlay_node *n, time_ms_t now)
/* Make sure node is advertised soon */
overlay_route_please_advertise(n);
monitor_announce_peer(n->sid);
/* Pre-emptively check if we have their sas in memory, or send a request */
keyring_find_sas_public(keyring, n->sid);
}
/* Remember new reachability information */