summaryrefslogtreecommitdiff
path: root/src/or/nodelist.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/nodelist.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/nodelist.c')
-rw-r--r--src/or/nodelist.c4
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);