aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2011-04-18 12:00:48 -0700
committerRobert Ransom <rransom.8774@gmail.com>2011-04-18 12:00:48 -0700
commit134da2fbcf865418863bda8d4c479a20f6f6651d (patch)
tree27d3610152b42e9e0ec2eeb13970675ea47e7a8b /src
parent4cbbb92e7fc7c9c4d374b35211c216a5419e3da2 (diff)
downloadtor-134da2fbcf865418863bda8d4c479a20f6f6651d.tar
tor-134da2fbcf865418863bda8d4c479a20f6f6651d.tar.gz
Add an XXX to the DA code regarding bug 2722
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index f65f25811..525524c42 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1811,6 +1811,8 @@ dirserv_thinks_router_is_hs_dir(routerinfo_t *router, time_t now)
* bug 1693. In the future, once relays set wants_to_be_hs_dir
* correctly, we can revert to only checking dir_port if router's
* version is too old. */
+ /* XXX Unfortunately, we need to keep checking dir_port until all
+ * *clients* suffering from bug 2722 are obsolete. */
return (router->wants_to_be_hs_dir && router->dir_port &&
uptime > get_options()->MinUptimeHidServDirectoryV2 &&
router->is_running);