]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
Add a configurable fast connection retry period.
[meshlink] / src / net_setup.c
index 8c8ef6ed453809d05af4e24fad10627e8b5c5681..8baff8b87c9f9f9e623470e6f03b72dd6480f37c 100644 (file)
@@ -260,8 +260,6 @@ bool node_write_config(meshlink_handle_t *mesh, node_t *n) {
                return false;
        }
 
-
-
        return true;
 }
 
@@ -454,6 +452,7 @@ bool setup_myself(meshlink_handle_t *mesh) {
        /* Done. */
 
        mesh->last_config_check = mesh->loop.now.tv_sec;
+       mesh->last_unreachable = mesh->loop.now.tv_sec;
 
        return true;
 }