|
@@ -1468,7 +1468,7 @@ dirserv_thinks_router_is_hs_dir(const routerinfo_t *router,
|
|
* to fix the bug was 0.2.2.25-alpha. */
|
|
* 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 &&
|
|
- node->is_running);
|
|
|
|
|
|
+ router_is_active(router, node, now));
|
|
}
|
|
}
|
|
|
|
|
|
/** Don't consider routers with less bandwidth than this when computing
|
|
/** Don't consider routers with less bandwidth than this when computing
|