From: Guus Sliepen Date: Fri, 19 Oct 2007 18:53:48 +0000 (+0000) Subject: Fix connection weight estimation. X-Git-Tag: release-1.1pre1~147 X-Git-Url: https://www.tinc-vpn.org/git/browse?a=commitdiff_plain;h=54892b2e3efcbbbd65b26a32f487829bbb8d787c;p=tinc Fix connection weight estimation. --- diff --git a/src/protocol_auth.c b/src/protocol_auth.c index 291c4b01..46bb6e64 100644 --- a/src/protocol_auth.c +++ b/src/protocol_auth.c @@ -40,6 +40,8 @@ bool send_id(connection_t *c) { cp(); + gettimeofday(&c->start, NULL); + return send_request(c, "%d %s %d", ID, myself->connection->name, myself->connection->protocol_version); }