[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] backport: stop picking unverified dir mirrors, ever.
Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/0091/tor/src/or
Modified Files:
Tag: tor-0_0_9-patches
routerlist.c
Log Message:
backport: stop picking unverified dir mirrors, ever.
Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.200.2.3
retrieving revision 1.200.2.4
diff -u -d -r1.200.2.3 -r1.200.2.4
--- routerlist.c 3 Feb 2005 23:47:09 -0000 1.200.2.3
+++ routerlist.c 23 Feb 2005 04:21:04 -0000 1.200.2.4
@@ -178,7 +178,7 @@
sl = smartlist_create();
for (i=0;i< smartlist_len(routerlist->routers); i++) {
router = smartlist_get(routerlist->routers, i);
- if (!router->is_running || !router->dir_port)
+ if (!router->is_running || !router->dir_port || !router->is_verified)
continue;
if (requireothers && router_is_me(router))
continue;