Fix connection weight estimation.
This commit is contained in:
parent
6c453769fd
commit
54892b2e3e
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@
|
||||||
bool send_id(connection_t *c) {
|
bool send_id(connection_t *c) {
|
||||||
cp();
|
cp();
|
||||||
|
|
||||||
|
gettimeofday(&c->start, NULL);
|
||||||
|
|
||||||
return send_request(c, "%d %s %d", ID, myself->connection->name,
|
return send_request(c, "%d %s %d", ID, myself->connection->name,
|
||||||
myself->connection->protocol_version);
|
myself->connection->protocol_version);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue