X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fgraph.c;h=977262379b65eaaa09cdcbce24ad533e3ed8ddc0;hp=7288f74bf4ebc8b0c4293cb638e77e15ae081511;hb=ed14ef93b47622ba13099dfc6be5335222e987a6;hpb=d15099e0029578bfd24d6b464b941f4693280001 diff --git a/src/graph.c b/src/graph.c index 7288f74b..97726237 100644 --- a/src/graph.c +++ b/src/graph.c @@ -53,6 +53,7 @@ #include "netutl.h" #include "node.h" #include "process.h" +#include "protocol.h" #include "subnet.h" #include "utils.h" #include "xalloc.h" @@ -289,6 +290,8 @@ void sssp_bfs(void) { if(!n->status.reachable) update_node_udp(n, NULL); + else if(n->connection) + send_ans_key(n); } } }