Browse Source

Resume listing "AUTHORITY" flag for authorities in network status.
Bugfix on 0.2.0.3-alpha; reported by Alex de Joode.


svn:r11530

Roger Dingledine 18 years ago
parent
commit
0914883339
3 changed files with 4 additions and 2 deletions
  1. 2 0
      ChangeLog
  2. 1 1
      doc/TODO
  3. 1 1
      src/or/dirserv.c

+ 2 - 0
ChangeLog

@@ -67,6 +67,8 @@ Changes in version 0.2.0.7-alpha - 2007-09-21
       the counter never exceeded 2^68.  When the counter can be set
       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),
       arbitrarily as an IV (as it is by Karsten's new hidden services code),
       this assumption no longer holds.
       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:
   o Code simplifications and refactoring:
     - Revamp file-writing logic so we don't need to have the entire contents
     - Revamp file-writing logic so we don't need to have the entire contents

+ 1 - 1
doc/TODO

@@ -38,7 +38,7 @@ Things we'd like to do in 0.2.0.x:
           unreachable is bunk -- it's leftover from the time when all
           unreachable is bunk -- it's leftover from the time when all
           servers ran 24/7. now it triggers every time a server goes
           servers ran 24/7. now it triggers every time a server goes
           away and then returns before the old descriptor has expired.
           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.
           flags.
       - add a --quiet commandline option that suppresses logs. useful
       - add a --quiet commandline option that suppresses logs. useful
         for --hashed-password and maybe others.
         for --hashed-password and maybe others.

+ 1 - 1
src/or/dirserv.c

@@ -1849,7 +1849,7 @@ set_routerstatus_from_routerinfo(routerstatus_t *rs,
     !tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs");
     !tor_version_as_new_as(ri->platform,"0.1.1.16-rc-cvs");
   memset(rs, 0, sizeof(routerstatus_t));
   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. */
   /* Already set by compute_performance_thresholds. */
   rs->is_exit = ri->is_exit;
   rs->is_exit = ri->is_exit;