diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-12-19 09:46:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-12-19 09:46:14 -0500 |
commit | 0c7fd8312341b349f93e97c915234b18d0d014ca (patch) | |
tree | f938d887103968eb519924f5585a6d0cd6e518cb /src/feature/dirauth/dirvote.c | |
parent | 77dea66e19404a4c07f0e738efb7710f542037ed (diff) | |
download | tor-0c7fd8312341b349f93e97c915234b18d0d014ca.tar.gz tor-0c7fd8312341b349f93e97c915234b18d0d014ca.zip |
Move ConsensusParams to dirauth module.
Diffstat (limited to 'src/feature/dirauth/dirvote.c')
-rw-r--r-- | src/feature/dirauth/dirvote.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 7caa6bf30d..1fd438b7db 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -4664,10 +4664,10 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key, smartlist_add_strdup(v3_out->known_flags, "BadExit"); smartlist_sort_strings(v3_out->known_flags); - if (options->ConsensusParams) { + if (d_options->ConsensusParams) { v3_out->net_params = smartlist_new(); smartlist_split_string(v3_out->net_params, - options->ConsensusParams, NULL, 0, 0); + d_options->ConsensusParams, NULL, 0, 0); smartlist_sort_strings(v3_out->net_params); } v3_out->bw_file_headers = bw_file_headers; |