aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2008-06-20 17:03:13 +0000
committerKarsten Loesing <karsten.loesing@gmx.net>2008-06-20 17:03:13 +0000
commit33ced73597ca064b0ce7076b1b1127be31dcec75 (patch)
treeacf950b46bde2c64cae13721fd95e29bc8ff83ac /src/or/dirserv.c
parenta2a3d1e3293abb04fef2d73218a224e1e757e214 (diff)
downloadtor-33ced73597ca064b0ce7076b1b1127be31dcec75.tar.gz
tor-33ced73597ca064b0ce7076b1b1127be31dcec75.zip
Added prefixes to testing-network-only configuration options.
svn:r15375
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index fbe23c2fd7..38c30001db 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2154,7 +2154,8 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_env_t *private_key,
tor_assert(private_key);
tor_assert(cert);
- if (now - time_of_process_start < options->DirTimeToLearnReachability)
+ if (now - time_of_process_start <
+ options->TestingAuthDirTimeToLearnReachability)
vote_on_reachability = 0;
if (resolve_my_address(LOG_WARN, options, &addr, &hostname)<0) {
@@ -2240,7 +2241,7 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_env_t *private_key,
last_consensus_interval = current_consensus->fresh_until -
current_consensus->valid_after;
else
- last_consensus_interval = options->V3AuthInitialVotingInterval;
+ last_consensus_interval = options->TestingV3AuthInitialVotingInterval;
v3_out->valid_after =
dirvote_get_start_of_next_interval(now, (int)last_consensus_interval);
format_iso_time(tbuf, v3_out->valid_after);