diff options
author | Roger Dingledine <arma@torproject.org> | 2005-08-30 06:43:07 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-08-30 06:43:07 +0000 |
commit | e9524f9d2d19369e2ab7736ffe9f4744dd73cb4a (patch) | |
tree | 4c43144106a992f25bb29c81ed1b952a83adb9ab /src/or/router.c | |
parent | a8c0c51e0bb02ef63cf48107a6843c60b03a9d52 (diff) | |
download | tor-e9524f9d2d19369e2ab7736ffe9f4744dd73cb4a.tar.gz tor-e9524f9d2d19369e2ab7736ffe9f4744dd73cb4a.zip |
refactor -- no actual changes
svn:r4885
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 6a719652e5..27d8154ea2 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -606,7 +606,9 @@ router_retry_connections(int force) log_fn(LOG_INFO,"%sconnecting to %s at %s:%u.", clique_mode(options) ? "(forced) " : "", router->nickname, router->address, router->or_port); - dirserv_router_has_begun_reachability_testing(router->identity_digest, now); + /* Remember when we started trying to determine reachability */ + if (!router->testing_since) + router->testing_since = now; connection_or_connect(router->addr, router->or_port, router->identity_digest); } } |