X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet_socket.c;h=29f14c0eaa244e5122ef2679f4079486f3b89d16;hb=8538d6c661a083774e5b54163eaf5cdbcadcda6d;hp=374ba205b68ec6ebb42acc80151a2df1a35951fb;hpb=fd7e81983ca4cae7cdf2a67a35500284f17761c4;p=meshlink diff --git a/src/net_socket.c b/src/net_socket.c index 374ba205..29f14c0e 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -577,6 +577,7 @@ begin: /* Now that there is a working socket, fill in the rest and register this connection. */ c->status.connecting = true; + c->status.initiator = true; c->name = xstrdup(outgoing->node->name); c->last_ping_time = mesh->loop.now.tv_sec;