Functions work better when you call them. Resolve a bug which would prevent unreachable dirports from getting suppressed.

svn:r4183
This commit is contained in:
Nick Mathewson 2005-05-07 05:17:36 +00:00
parent bc51c8b074
commit 6567ec9ccf

View File

@ -834,7 +834,7 @@ int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
router->nickname,
router->address,
router->or_port,
check_whether_dirport_reachable ? router->dir_port : 0,
check_whether_dirport_reachable() ? router->dir_port : 0,
router->platform,
published,
fingerprint,