summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/voteflags.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 10:42:44 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 10:42:44 -0500
commit3210598c30c46ea0f192a20d96e2f10f481c2366 (patch)
tree2a2f2d708867930ffc56235a2a3a9736b09d03cb /src/feature/dirauth/voteflags.c
parent87f7c2d01817913b3fcf36a3025c55feef13612c (diff)
downloadtor-3210598c30c46ea0f192a20d96e2f10f481c2366.tar.gz
tor-3210598c30c46ea0f192a20d96e2f10f481c2366.zip
Move TestingDirVote{Exit,Guard,HSdir}{,IsStrict} to dirauth module
Diffstat (limited to 'src/feature/dirauth/voteflags.c')
-rw-r--r--src/feature/dirauth/voteflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dirauth/voteflags.c b/src/feature/dirauth/voteflags.c
index 975b3e2cff..e0a037718a 100644
--- a/src/feature/dirauth/voteflags.c
+++ b/src/feature/dirauth/voteflags.c
@@ -620,9 +620,9 @@ dirauth_set_routerstatus_from_routerinfo(routerstatus_t *rs,
STATIC void
dirserv_set_routerstatus_testing(routerstatus_t *rs)
{
- const or_options_t *options = get_options();
+ const dirauth_options_t *options = dirauth_get_options();
- tor_assert(options->TestingTorNetwork);
+ tor_assert(get_options()->TestingTorNetwork);
if (routerset_contains_routerstatus(options->TestingDirAuthVoteExit,
rs, 0)) {