X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet_setup.c;h=8baff8b87c9f9f9e623470e6f03b72dd6480f37c;hb=529b8fab8c21e7ae5af91d742ff202eab38e51f3;hp=b5c25d03bec8ed4b60eeaaa811875c8c1d161af1;hpb=5f79c2c0882e03648acb9c4a2f6780a7513c61aa;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; }