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
This commit is contained in:
parent
23c78217b1
commit
781dac00d5
1 changed files with 3 additions and 0 deletions
|
@ -744,6 +744,9 @@ static void send_everything(connection_t *c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for splay_each(node_t, n, node_tree) {
|
for splay_each(node_t, n, node_tree) {
|
||||||
|
if (!n->status.reachable)
|
||||||
|
continue;
|
||||||
|
|
||||||
for splay_each(subnet_t, s, n->subnet_tree)
|
for splay_each(subnet_t, s, n->subnet_tree)
|
||||||
send_add_subnet(c, s);
|
send_add_subnet(c, s);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue