X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_setup.c;h=8baff8b87c9f9f9e623470e6f03b72dd6480f37c;hb=529b8fab8c21e7ae5af91d742ff202eab38e51f3;hp=8c8ef6ed453809d05af4e24fad10627e8b5c5681;hpb=42cef01039177f3c762001439c8fb6bbdcd6e159;p=meshlink diff --git a/src/net_setup.c b/src/net_setup.c index 8c8ef6ed..8baff8b8 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -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; }