summaryrefslogtreecommitdiff
path: root/src/or/routerparse.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/routerparse.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/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 337ba57a5a..281341d134 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1900,8 +1900,6 @@ routerstatus_parse_entry_from_string(memarea_t *area,
rs->is_possible_guard = 1;
else if (!strcmp(tok->args[i], "BadExit"))
rs->is_bad_exit = 1;
- else if (!strcmp(tok->args[i], "BadDirectory"))
- rs->is_bad_directory = 1;
else if (!strcmp(tok->args[i], "Authority"))
rs->is_authority = 1;
else if (!strcmp(tok->args[i], "Unnamed") &&