]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
make r12485 more likely to work on tonga too
authorRoger Dingledine <arma@torproject.org>
Mon, 12 Nov 2007 19:01:28 +0000 (19:01 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 12 Nov 2007 19:01:28 +0000 (19:01 +0000)
svn:r12486

src/or/routerlist.c

index 623176ae87b338eaf66dbbc13c5954915e2b7570..8a630b50450e47dfc76bdd6e95236c31a6cf6c3d 100644 (file)
@@ -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.",