Parcourir la source

make r12485 more likely to work on tonga too

svn:r12486
Roger Dingledine il y a 16 ans
Parent
commit
c23a22785d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/or/routerlist.c

+ 1 - 1
src/or/routerlist.c

@@ -3812,7 +3812,7 @@ update_consensus_router_descriptor_downloads(time_t now)
       smartlist_add(downloadable, rs->descriptor_digest);
     });
 
-  if (!authdir_mode(options) && smartlist_len(no_longer_old)) {
+  if (!authdir_mode_any_nonbridge(options) && smartlist_len(no_longer_old)) {
     routerlist_t *rl = router_get_routerlist();
     log_info(LD_DIR, "%d router descriptors listed in consensus are "
              "currently in old_routers; making them current.",