aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 09:24:57 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 09:24:57 -0500
commit9386b0b28ad7c276eaaf4546a1764c605850dba3 (patch)
tree6a9365a57793ea253244869d8a85794f675c1672 /src/feature/dirauth/dirvote.c
parenteedab30a7bd5663984264bb5f9ef43cf57450143 (diff)
downloadtor-9386b0b28ad7c276eaaf4546a1764c605850dba3.tar.gz
tor-9386b0b28ad7c276eaaf4546a1764c605850dba3.zip
Move AuthDirListBadExits to dirauth module.
Diffstat (limited to 'src/feature/dirauth/dirvote.c')
-rw-r--r--src/feature/dirauth/dirvote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c
index acb6617178..7caa6bf30d 100644
--- a/src/feature/dirauth/dirvote.c
+++ b/src/feature/dirauth/dirvote.c
@@ -4427,7 +4427,7 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key,
smartlist_t *routers, *routerstatuses;
char identity_digest[DIGEST_LEN];
char signing_key_digest[DIGEST_LEN];
- int listbadexits = options->AuthDirListBadExits;
+ const int listbadexits = d_options->AuthDirListBadExits;
routerlist_t *rl = router_get_routerlist();
time_t now = time(NULL);
time_t cutoff = now - ROUTER_MAX_AGE_TO_PUBLISH;