summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-07-14 14:03:30 -0400
committerNick Mathewson <nickm@torproject.org>2015-07-14 14:03:30 -0400
commita65e835800b1af2c2a4c215b0c8ab282e14105b2 (patch)
treea7bdff217672096882ea527bda1288ed4fe42212 /src
parentfa788a54f53efd41f160f814d538ff08d134fe96 (diff)
downloadtor-a65e835800b1af2c2a4c215b0c8ab282e14105b2.tar.gz
tor-a65e835800b1af2c2a4c215b0c8ab282e14105b2.zip
Add changes file for 8712; apply it to HSDir flag as well.
Diffstat (limited to 'src')
-rw-r--r--src/or/dirserv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 8ad8bfe707..71be626fff 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1372,8 +1372,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router,
return (router->wants_to_be_hs_dir && router->dir_port &&
node->is_stable &&
- uptime >= get_options()->MinUptimeHidServDirectoryV2 &&
- router_is_active(router, node, now));
+ uptime >= get_options()->MinUptimeHidServDirectoryV2);
}
/** Don't consider routers with less bandwidth than this when computing