X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_setup.c;h=a82d5d97817610ca611195927a264713e4129141;hb=4b6c01b1d5383b1a7417244a31ad4652aab2d5db;hp=ceaeb0c5b1fb9f0502c65e34d23931e44f0221c4;hpb=e25f5166a3edc98f4a333c98881d4899635f1144;p=meshlink diff --git a/src/net_setup.c b/src/net_setup.c index ceaeb0c5..a82d5d97 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -521,13 +521,7 @@ static bool add_listen_sockets(meshlink_handle_t *mesh) { /* Configure node_t mesh->self and set up the local sockets (listen only) */ -bool setup_myself(meshlink_handle_t *mesh) { - /* Set some defaults */ - - mesh->maxtimeout = 900; - - /* Done */ - +static bool setup_myself(meshlink_handle_t *mesh) { mesh->self->nexthop = mesh->self; node_add(mesh, mesh->self);