aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2014-09-05 01:49:47 +0200
committerNick Mathewson <nickm@torproject.org>2014-09-09 11:54:20 -0400
commit409a56281eda6e0f39ecb1a2737eb4ab39b0229b (patch)
treea6e0c58a7c850fc44086cff029b9325859cd4cc6 /src/or/dirserv.c
parent8099dee99234519a76580bb9ae479a878b7a45e0 (diff)
downloadtor-409a56281eda6e0f39ecb1a2737eb4ab39b0229b.tar.gz
tor-409a56281eda6e0f39ecb1a2737eb4ab39b0229b.zip
Remove client-side bad directory logic
Implements the second half of #13060.
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index d96867b2c2..92d34e2df7 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2181,8 +2181,7 @@ clear_status_flags_on_sybil(routerstatus_t *rs)
{
rs->is_authority = rs->is_exit = rs->is_stable = rs->is_fast =
rs->is_flagged_running = rs->is_named = rs->is_valid =
- rs->is_hs_dir = rs->is_possible_guard = rs->is_bad_exit =
- rs->is_bad_directory = 0;
+ rs->is_hs_dir = rs->is_possible_guard = rs->is_bad_exit = 0;
/* FFFF we might want some mechanism to check later on if we
* missed zeroing any flags: it's easy to add a new flag but
* forget to add it to this clause. */