aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-09-29 23:04:01 +0000
committerRoger Dingledine <arma@torproject.org>2005-09-29 23:04:01 +0000
commit54a662a542781c8a620deb4e031d413cb6de92d9 (patch)
tree8895161cd2778e718047201c699bdb92ad56c4fd /src/or/router.c
parent8fc9330686ea14f96c28672b3fd0545d933f864c (diff)
downloadtor-54a662a542781c8a620deb4e031d413cb6de92d9.tar.gz
tor-54a662a542781c8a620deb4e031d413cb6de92d9.zip
re-enable dirport testing again
(still need the other half, to notice when it has worked.) svn:r5152
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 28dee45b1c..8a741f5952 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -447,7 +447,9 @@ consider_testing_reachability(void)
}
if (!check_whether_dirport_reachable()) {
- directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
+ /* ask myself, via tor, for my server descriptor. */
+ directory_initiate_command_router(me, DIR_PURPOSE_FETCH_SERVERDESC,
+ 1, "authority", NULL, 0);
}
}