diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-19 09:07:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-19 09:19:02 -0500 |
commit | eedab30a7bd5663984264bb5f9ef43cf57450143 (patch) | |
tree | 1c64f572b7daf364b21bdbd410d599b206b51fd4 /src/test/test_voting_flags.c | |
parent | bc0f1076d53e57d1a4ba19170a1c27d9eaee34e8 (diff) | |
download | tor-eedab30a7bd5663984264bb5f9ef43cf57450143.tar.gz tor-eedab30a7bd5663984264bb5f9ef43cf57450143.zip |
Move AuthDirHasIPv6Connectivity into dirauth module.
Diffstat (limited to 'src/test/test_voting_flags.c')
-rw-r--r-- | src/test/test_voting_flags.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_voting_flags.c b/src/test/test_voting_flags.c index c8111ea5df..510531fbcd 100644 --- a/src/test/test_voting_flags.c +++ b/src/test/test_voting_flags.c @@ -8,6 +8,7 @@ #include "core/or/or.h" #include "feature/dirauth/voteflags.h" +#include "feature/dirauth/dirauth_options_st.h" #include "feature/nodelist/node_st.h" #include "feature/nodelist/routerstatus_st.h" #include "feature/nodelist/routerinfo_st.h" @@ -15,6 +16,7 @@ #include "app/config/config.h" #include "test/test.h" +#include "test/opts_test_helpers.h" typedef struct { time_t now; @@ -119,7 +121,7 @@ test_voting_flags_ipv6(void *arg) if (!check_result(cfg)) goto done; - get_options_mutable()->AuthDirHasIPv6Connectivity = 1; + get_dirauth_options(get_options_mutable())->AuthDirHasIPv6Connectivity = 1; // no change in expected results, since last_reachable6 won't be set. if (!check_result(cfg)) goto done; |