From 091488333967cc61734b4883b4db970d01ddeaaa Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 20 Sep 2007 04:37:17 +0000 Subject: [PATCH] Resume listing "AUTHORITY" flag for authorities in network status. Bugfix on 0.2.0.3-alpha; reported by Alex de Joode. svn:r11530 --- ChangeLog | 2 ++ doc/TODO | 2 +- src/or/dirserv.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9185136e3f..fb4af1f583 100644 --- a/ChangeLog +++ b/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 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 diff --git a/doc/TODO b/doc/TODO index 58d2ced7b0..86f34d04db 100644 --- a/doc/TODO +++ b/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 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. diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 9743776e28..04c6ad7d37 100644 --- a/src/or/dirserv.c +++ b/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"); 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;