[or-cvs] stop picking unverified dir mirrors, ever.

Roger Dingledine arma at seul.org
Thu Feb 10 07:00:25 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/tor/src/or

Modified Files:
	routerlist.c 
Log Message:
stop picking unverified dir mirrors, ever.
it only leads to misery.


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- routerlist.c	1 Feb 2005 02:56:31 -0000	1.210
+++ routerlist.c	10 Feb 2005 07:00:23 -0000	1.211
@@ -176,7 +176,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;



More information about the tor-commits mailing list