summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-12-19 21:56:49 +0100
committerSebastian Hahn <sebastian@torproject.org>2009-12-25 16:35:47 +0100
commit9a07f30b90800a0741e81f405cd88563ed09bdb9 (patch)
tree31f9958407011967496420082380f0ffeebd1ded /src
parent51c00dbdec56f34759d491e9a4adf8a20fb295d5 (diff)
downloadtor-9a07f30b90800a0741e81f405cd88563ed09bdb9.tar.gz
tor-9a07f30b90800a0741e81f405cd88563ed09bdb9.zip
Authorities now support conditional consensuses
Mark them this way in add_trusted_dir_server
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 3773ee2228..029bd9a0c1 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3680,12 +3680,8 @@ add_trusted_dir_server(const char *nickname, const char *address,
if (ent->or_port)
ent->fake_status.version_supports_begindir = 1;
-/* XX021 - wait until authorities are upgraded */
-#if 0
+
ent->fake_status.version_supports_conditional_consensus = 1;
-#else
- ent->fake_status.version_supports_conditional_consensus = 0;
-#endif
smartlist_add(trusted_dir_servers, ent);
router_dir_info_changed();