]> git.meshlink.io Git - meshlink/blobdiff - src/net_setup.c
Make the maximum outgoing connection timeout runtime configurable.
[meshlink] / src / net_setup.c
index af49ea09944092fa0b2d90575cb660c0c290924b..a82d5d97817610ca611195927a264713e4129141 100644 (file)
@@ -522,12 +522,6 @@ static bool add_listen_sockets(meshlink_handle_t *mesh) {
   Configure node_t mesh->self and set up the local sockets (listen only)
 */
 static bool setup_myself(meshlink_handle_t *mesh) {
-       /* Set some defaults */
-
-       mesh->maxtimeout = 900;
-
-       /* Done */
-
        mesh->self->nexthop = mesh->self;
 
        node_add(mesh, mesh->self);