Browse Source

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

Roger Dingledine 19 years ago
parent
commit
67b61fe475
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
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) {