소스 검색

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

svn:r4183
Nick Mathewson 20 년 전
부모
커밋
6567ec9ccf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/router.c

+ 1 - 1
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,