diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-19 10:42:44 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-19 10:42:44 -0500 |
commit | 3210598c30c46ea0f192a20d96e2f10f481c2366 (patch) | |
tree | 2a2f2d708867930ffc56235a2a3a9736b09d03cb /src/feature/dirauth/voteflags.c | |
parent | 87f7c2d01817913b3fcf36a3025c55feef13612c (diff) | |
download | tor-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.c | 4 |
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)) { |