[or-cvs] r11530: Resume listing "AUTHORITY" flag for authorities in network s (in tor/trunk: . doc src/or)

arma at seul.org arma at seul.org
Thu Sep 20 04:37:18 UTC 2007


Author: arma
Date: 2007-09-20 00:37:17 -0400 (Thu, 20 Sep 2007)
New Revision: 11530

Modified:
   tor/trunk/ChangeLog
   tor/trunk/doc/TODO
   tor/trunk/src/or/dirserv.c
Log:
Resume listing "AUTHORITY" flag for authorities in network status.
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.


Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2007-09-20 03:06:45 UTC (rev 11529)
+++ tor/trunk/ChangeLog	2007-09-20 04:37:17 UTC (rev 11530)
@@ -67,6 +67,8 @@
       the counter never exceeded 2^68.  When the counter can be set
       arbitrarily as an IV (as it is by Karsten's new hidden services code),
       this assumption no longer holds.
+    - Resume listing "AUTHORITY" flag for authorities in network status.
+      Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.
 
   o Code simplifications and refactoring:
     - Revamp file-writing logic so we don't need to have the entire contents

Modified: tor/trunk/doc/TODO
===================================================================
--- tor/trunk/doc/TODO	2007-09-20 03:06:45 UTC (rev 11529)
+++ tor/trunk/doc/TODO	2007-09-20 04:37:17 UTC (rev 11530)
@@ -38,7 +38,7 @@
           unreachable is bunk -- it's leftover from the time when all
           servers ran 24/7. now it triggers every time a server goes
           away and then returns before the old descriptor has expired.
-        - 0.2.0.x dir authorities have stopped giving people Authority
+        o 0.2.0.x dir authorities have stopped giving people Authority
           flags.
       - add a --quiet commandline option that suppresses logs. useful
         for --hashed-password and maybe others.

Modified: tor/trunk/src/or/dirserv.c
===================================================================
--- tor/trunk/src/or/dirserv.c	2007-09-20 03:06:45 UTC (rev 11529)
+++ tor/trunk/src/or/dirserv.c	2007-09-20 04:37:17 UTC (rev 11530)
@@ -1849,7 +1849,7 @@
     !tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs");
   memset(rs, 0, sizeof(routerstatus_t));
 
-  rs->is_authority = router_digest_is_trusted_dir(rs->identity_digest);
+  rs->is_authority = router_digest_is_trusted_dir(ri->identity_digest);
 
   /* Already set by compute_performance_thresholds. */
   rs->is_exit = ri->is_exit;



More information about the tor-commits mailing list