X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fgraph.c;h=9036c528d815e05ffb8438cd425c0621a1b0f9e7;hb=8a77df9e28114cbfd83351070fdb266cf31fc310;hp=6428f4db77c2e2a8fb49969ca6432142578f7d10;hpb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80;p=tinc diff --git a/src/graph.c b/src/graph.c index 6428f4db..9036c528 100644 --- a/src/graph.c +++ b/src/graph.c @@ -246,6 +246,8 @@ static void check_reachability(void) { if(!n->status.reachable) { update_node_udp(n, NULL); + memset(&n->status, 0, sizeof n->status); + n->options = 0; } else if(n->connection) { if(n->status.sptps) { if(n->connection->outgoing)