X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fgraph.c;fp=src%2Fgraph.c;h=977262379b65eaaa09cdcbce24ad533e3ed8ddc0;hp=7288f74bf4ebc8b0c4293cb638e77e15ae081511;hb=ed14ef93b47622ba13099dfc6be5335222e987a6;hpb=4a0b9981513059755b9fd15b38fc198f46a0d6f2 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); } } }