]> git.meshlink.io Git - meshlink/blobdiff - src/graph.c
Add channel disconnection fix when node blacklisted
[meshlink] / src / graph.c
index 9b0184b091a0cdf15602871afcb7f5e277614720..19a33e2e9de1485cd1d7a462168ff288bbf2e49b 100644 (file)
@@ -229,7 +229,9 @@ static void check_reachability(meshlink_handle_t *mesh) {
 
                        timeout_del(&mesh->loop, &n->mtutimeout);
 
-                       update_node_status(mesh, n);
+                       if(!n->status.blacklisted) {
+                               update_node_status(mesh, n);
+                       }
 
                        if(!n->status.reachable) {
                                update_node_udp(mesh, n, NULL);