diff options
author | Roger Dingledine <arma@torproject.org> | 2007-12-10 16:49:54 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-12-10 16:49:54 +0000 |
commit | ee6ae92670b587baa45c5088f52278db4bef0205 (patch) | |
tree | ae261f5f2ba3938db84e92c7c0dc4d6057e81274 /src/or/networkstatus.c | |
parent | 5928203e9f117e9022ff780fbb0f0c560869b0bc (diff) | |
download | tor-ee6ae92670b587baa45c5088f52278db4bef0205.tar.gz tor-ee6ae92670b587baa45c5088f52278db4bef0205.zip |
New config options AuthDirBadDir and AuthDirListBadDirs for
authorities to mark certain relays as "bad directories" in the
networkstatus documents. Also supports the "!baddir" directive in
the approved-routers file.
svn:r12754
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 3b4f9d31b0..6a72340bab 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1619,6 +1619,7 @@ routers_update_status_from_consensus_networkstatus(smartlist_t *routers, router->is_stable = rs->is_stable; router->is_possible_guard = rs->is_possible_guard; router->is_exit = rs->is_exit; + router->is_bad_directory = rs->is_bad_directory; router->is_bad_exit = rs->is_bad_exit; router->is_hs_dir = rs->is_hs_dir; } |