X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_socket.c;h=8983d2895aede8dc603dcb164cd3e2e1d6c96629;hb=34ea20af73a35cd918ce9dc25796bebf9493b49c;hp=fab11d67f215a6d90c8f950f6ed982e45398f618;hpb=c544e5e8fe22250b230a46f0340483db5403a6c1;p=tinc diff --git a/src/net_socket.c b/src/net_socket.c index fab11d67..8983d289 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -552,6 +552,7 @@ begin: /* Now that there is a working socket, fill in the rest and register this connection. */ + c->last_ping_time = time(NULL); c->status.connecting = true; c->name = xstrdup(outgoing->name); #ifndef DISABLE_LEGACY