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/nodelist.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/nodelist.c')
-rw-r--r-- | src/or/nodelist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c index d7deac1214..f37fb49927 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -241,7 +241,6 @@ nodelist_set_consensus(networkstatus_t *ns) node->is_stable = rs->is_stable; node->is_possible_guard = rs->is_possible_guard; node->is_exit = rs->is_exit; - node->is_bad_directory = rs->is_bad_directory; node->is_bad_exit = rs->is_bad_exit; node->is_hs_dir = rs->is_hs_dir; node->ipv6_preferred = 0; @@ -267,8 +266,7 @@ nodelist_set_consensus(networkstatus_t *ns) node->is_valid = node->is_running = node->is_hs_dir = node->is_fast = node->is_stable = node->is_possible_guard = node->is_exit = - node->is_bad_exit = node->is_bad_directory = - node->ipv6_preferred = 0; + node->is_bad_exit = node->ipv6_preferred = 0; } } } SMARTLIST_FOREACH_END(node); |