]> git.meshlink.io Git - meshlink/blobdiff - src/graph.c
Determine the local node's address(es) and add them to its host config file.
[meshlink] / src / graph.c
index 2453d6f1c21f52414be0f0d849f54b5130300354..b18d06105660aa0196bb35b0211bf6e2cde156c8 100644 (file)
@@ -223,8 +223,7 @@ static void check_reachability(meshlink_handle_t *mesh) {
 
                        timeout_del(&mesh->loop, &n->mtutimeout);
 
-                       if(mesh->node_status_cb)
-                               mesh->node_status_cb(mesh, (meshlink_node_t *)n, n->status.reachable);
+                       update_node_status(mesh, n);
 
                        if(!n->status.reachable) {
                                update_node_udp(mesh, n, NULL);