diff options
author | Roger Dingledine <arma@torproject.org> | 2011-09-01 03:13:27 -0400 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2011-09-01 03:13:27 -0400 |
commit | 44f6be4681cd3fcdab0e1a6d892b8918373e12d3 (patch) | |
tree | 09c51f4a2e36af3be93fe499ed1c033d248e9eba /src/or/dirserv.c | |
parent | cc33ac362b1e0e046ddbeae30da1810aef781e8f (diff) | |
download | tor-44f6be4681cd3fcdab0e1a6d892b8918373e12d3.tar.gz tor-44f6be4681cd3fcdab0e1a6d892b8918373e12d3.zip |
let private tor networks more reliably handle hidden services
this is a tweak on the fix in f87c6f100d (see also #2088)
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 7df9a2fcaa..00b8205893 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1821,7 +1821,7 @@ dirserv_thinks_router_is_hs_dir(routerinfo_t *router, time_t now) * *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 && - uptime > get_options()->MinUptimeHidServDirectoryV2 && + uptime >= get_options()->MinUptimeHidServDirectoryV2 && router->is_running); } |