diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-02 16:00:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-02 16:00:07 -0400 |
commit | eb71777bb28b353da68c0ea25a36d0ac763de550 (patch) | |
tree | eaa904a3b9d8cab7e1ec851235e7afc5cb50c32d /src/or/dirserv.c | |
parent | bc64a6b2b9c1e0851ce4fc4fe410ac565f3c0137 (diff) | |
parent | d6bfedb8e56ae3d2fc249852de477a61eb6a1278 (diff) | |
download | tor-eb71777bb28b353da68c0ea25a36d0ac763de550.tar.gz tor-eb71777bb28b353da68c0ea25a36d0ac763de550.zip |
Merge remote-tracking branch 'dgoulet/bug15963_026_01'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index e5b180696b..53b450cef5 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1344,7 +1344,7 @@ dirserv_thinks_router_is_unreliable(time_t now, /** Return true iff <b>router</b> should be assigned the "HSDir" flag. * Right now this means it advertises support for it, it has a high uptime, - * it has a DirPort open, it has the Stable flag and it's currently + * it has a DirPort open, it has the Stable and Fast flag and it's currently * considered Running. * * This function needs to be called after router-\>is_running has @@ -1372,7 +1372,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router, uptime = real_uptime(router, now); return (router->wants_to_be_hs_dir && router->dir_port && - node->is_stable && + node->is_stable && node->is_fast && uptime >= get_options()->MinUptimeHidServDirectoryV2 && router_is_active(router, node, now)); } |