aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-06-16 21:08:29 +0000
committerRoger Dingledine <arma@torproject.org>2004-06-16 21:08:29 +0000
commitba5d48e852ba8fe463a9ef98b0ca81a6f4b589d3 (patch)
tree400035260071b3d602fb581ec71aaf94ab59fe04 /src/or/router.c
parentc9ebd47633b08b0b42d3a6ff85a401c56d52ef90 (diff)
downloadtor-ba5d48e852ba8fe463a9ef98b0ca81a6f4b589d3.tar
tor-ba5d48e852ba8fe463a9ef98b0ca81a6f4b589d3.tar.gz
router->is_trusted_dir implies router->dir_port>0
and add some infrastructure for fetching running-routers list svn:r1973
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index d186ce5a0..ebdea64cd 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -533,6 +533,7 @@ int router_dump_router_to_string(char *s, int maxlen, routerinfo_t *router,
router->or_port,
router->socks_port,
router->dir_port,
+ /* XXX008 only use dir_port here if authoritative server, else use opt line below */
router->platform,
published,
(int) router->bandwidthrate,