summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-18 05:37:15 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-18 05:37:15 +0000
commit67b61fe4750a3f6718f25a3f40b88e57121d3f93 (patch)
tree7c9f9aa9c9bc2099e9b1e6dac93c6ac784d79a1e
parent581795f41d3ab0be4d9e224ae5da1ee51fd6c842 (diff)
downloadtor-67b61fe4750a3f6718f25a3f40b88e57121d3f93.tar.gz
tor-67b61fe4750a3f6718f25a3f40b88e57121d3f93.zip
authdirs shouldn't complain about unreachability when they
fetch a descriptor from somebody else. this is not the right time to increment the failure count. svn:r6184
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index d3dfcd6a36..38c22b9a1f 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1544,7 +1544,7 @@ router_add_to_routerlist(routerinfo_t *router, const char **msg,
router->num_unreachable_notifications =
old_router->num_unreachable_notifications;
}
- if (authdir &&
+ if (authdir && !from_cache && !from_fetch &&
dirserv_thinks_router_is_blatantly_unreachable(router,
time(NULL))) {
if (router->num_unreachable_notifications >= 3) {