From 781dac00d50f2eb58248561922d33d83a26adad5 Mon Sep 17 00:00:00 2001 From: thorkill Date: Sun, 29 Nov 2015 11:41:13 +0100 Subject: [PATCH] Do not send informations about unreachable nodes - testing highly experimental, the problem is that once a node has been introduced to the network it will never be deleted until all tincd will be disabled in the whole network at once --- src/protocol_auth.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 341a5eb7..3c2eea85 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -744,6 +744,9 @@ static void send_everything(connection_t *c) { } for splay_each(node_t, n, node_tree) { + if (!n->status.reachable) + continue; + for splay_each(subnet_t, s, n->subnet_tree) send_add_subnet(c, s);