]> git.meshlink.io Git - meshlink/blobdiff - src/graph.c
Remove global variables from the event loop code.
[meshlink] / src / graph.c
index 60d3b02ff3ceb6d6e0625638d4b905e990ac5db8..017e10dc4ba6fd17f0aad6bf901b0d3d31d4ce2d 100644 (file)
@@ -221,7 +221,7 @@ static void check_reachability(void) {
                        n->minmtu = 0;
                        n->mtuprobes = 0;
 
-                       timeout_del(&n->mtutimeout);
+                       timeout_del(&mesh->loop, &n->mtutimeout);
 
                        //TODO: callback to application to inform of this node going up/down