소스 검색

bugfix: make intro circuits work again

svn:r2280
Roger Dingledine 21 년 전
부모
커밋
6d661d1bc0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/or/routerlist.c

+ 2 - 0
src/or/routerlist.c

@@ -321,6 +321,8 @@ routerinfo_t *router_choose_random_node(char *preferred, char *excluded,
       routerlist_sl_remove_unreliable_routers(sl);
     if(preferbandwidth)
       choice = routerlist_sl_choose_by_bandwidth(sl);
+    else
+      choice = smartlist_choose(sl);
     smartlist_free(sl);
   }
   smartlist_free(excludednodes);