Clarify comment to say which version fixed 2722

This commit is contained in:
Nick Mathewson 2011-04-28 20:38:15 -04:00
parent 6b9aadd557
commit 5693fedb60

View File

@ -1812,7 +1812,8 @@ dirserv_thinks_router_is_hs_dir(routerinfo_t *router, time_t now)
* correctly, we can revert to only checking dir_port if router's * correctly, we can revert to only checking dir_port if router's
* version is too old. */ * version is too old. */
/* XXX Unfortunately, we need to keep checking dir_port until all /* XXX Unfortunately, we need to keep checking dir_port until all
* *clients* suffering from bug 2722 are obsolete. */ * *clients* suffering from bug 2722 are obsolete. The first version
* to fix the bug was 0.2.2.25-alpha. */
return (router->wants_to_be_hs_dir && router->dir_port && return (router->wants_to_be_hs_dir && router->dir_port &&
uptime > get_options()->MinUptimeHidServDirectoryV2 && uptime > get_options()->MinUptimeHidServDirectoryV2 &&
router->is_running); router->is_running);