X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_setup.c;h=8baff8b87c9f9f9e623470e6f03b72dd6480f37c;hb=be83b0af60449c7b35d17d97f2e6dc12f611e831;hp=b5c25d03bec8ed4b60eeaaa811875c8c1d161af1;hpb=560c1f1e838e78ba9e95b8b86f0a2dbcd0506efb;p=meshlink diff --git a/src/net_setup.c b/src/net_setup.c index b5c25d03..8baff8b8 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -452,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; }