X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fgraph.c;h=1e6043d15cf56b5926f92a0c238208c6e0cb676b;hp=7288f74bf4ebc8b0c4293cb638e77e15ae081511;hb=4b8a5993036fccc2108fcc2550649d9b78fb1ab7;hpb=d15099e0029578bfd24d6b464b941f4693280001 diff --git a/src/graph.c b/src/graph.c index 7288f74b..1e6043d1 100644 --- a/src/graph.c +++ b/src/graph.c @@ -1,6 +1,6 @@ /* graph.c -- graph algorithms - Copyright (C) 2001-2009 Guus Sliepen , + Copyright (C) 2001-2010 Guus Sliepen , 2001-2005 Ivo Timmermans This program is free software; you can redistribute it and/or modify @@ -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); } } }