Fix connection weight estimation.
[tinc] / src / protocol_auth.c
index 291c4b0..46bb6e6 100644 (file)
@@ -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);
 }