diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2014-09-05 01:49:47 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-09 11:54:20 -0400 |
commit | 409a56281eda6e0f39ecb1a2737eb4ab39b0229b (patch) | |
tree | a6e0c58a7c850fc44086cff029b9325859cd4cc6 /src/or/dirserv.c | |
parent | 8099dee99234519a76580bb9ae479a878b7a45e0 (diff) | |
download | tor-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.c | 3 |
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. */ |