[or-cvs] Make directory authorities ignore router uploads that have ...

Nick Mathewson nickm at seul.org
Mon Dec 12 01:02:10 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv2116/src/or

Modified Files:
	routerlist.c 
Log Message:
Make directory authorities ignore router uploads that have only cosmetic differences: now regardless of version!

Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.388
retrieving revision 1.389
diff -u -d -r1.388 -r1.389
--- routerlist.c	10 Dec 2005 09:36:26 -0000	1.388
+++ routerlist.c	12 Dec 2005 01:02:08 -0000	1.389
@@ -3252,11 +3252,6 @@
 {
   tor_assert(r1 && r2);
 
-  /* post-0.1.1.6 servers know what they're doing. */
-  if (tor_version_as_new_as(r1->platform, "0.1.1.6-alpha") ||
-      tor_version_as_new_as(r2->platform, "0.1.1.6-alpha"))
-    return 0;
-
   /* r1 should be the one that was published first. */
   if (r1->cache_info.published_on > r2->cache_info.published_on) {
     routerinfo_t *ri_tmp = r2;



More information about the tor-commits mailing list