summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2015-01-10 21:43:31 +1100
committerteor <teor2345@gmail.com>2015-01-10 22:34:28 +1100
commitf9d57473e1ff34f1ec56c62dd9ea138ceec42d6f (patch)
tree726c49430523377ff857706fc73302059b93dd9c /src/or/config.c
parente136606fe8325140f26dda26d2f634961aae5448 (diff)
downloadtor-f9d57473e1ff34f1ec56c62dd9ea138ceec42d6f.tar.gz
tor-f9d57473e1ff34f1ec56c62dd9ea138ceec42d6f.zip
Create TestingDirAuthVoteHSDir like TestingDirAuthVoteExit/Guard
TestingDirAuthVoteHSDir ensures that authorities vote the HSDir flag for the listed relays regardless of uptime or ORPort connectivity. Respects the value of VoteOnHidServDirectoriesV2. Partial fix for bug 14067.
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 9a374847d7..a1347b9d7d 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -448,6 +448,7 @@ static config_var_t option_vars_[] = {
V(TestingCertMaxDownloadTries, UINT, "8"),
V(TestingDirAuthVoteExit, ROUTERSET, NULL),
V(TestingDirAuthVoteGuard, ROUTERSET, NULL),
+ V(TestingDirAuthVoteHSDir, ROUTERSET, NULL),
VAR("___UsingTestNetworkDefaults", BOOL, UsingTestNetworkDefaults_, "0"),
{ NULL, CONFIG_TYPE_OBSOLETE, 0, NULL }