projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c45376
)
Fix connection weight estimation.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 19 Oct 2007 18:53:48 +0000
(18:53 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 19 Oct 2007 18:53:48 +0000
(18:53 +0000)
src/protocol_auth.c
patch
|
blob
|
history
diff --git
a/src/protocol_auth.c
b/src/protocol_auth.c
index
291c4b0
..
46bb6e6
100644
(file)
--- 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);
}