summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 09a9bc6b92..1ec4665b82 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -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,