aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c
index b2d5444d5..f2cf47f40 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -496,8 +496,11 @@ consider_testing_reachability(int test_or, int test_dir)
CONN_TYPE_DIR, me->addr, me->dir_port,
DIR_PURPOSE_FETCH_SERVERDESC)) {
/* ask myself, via tor, for my server descriptor. */
- directory_initiate_command_router(me, 0, DIR_PURPOSE_FETCH_SERVERDESC,
- 1, "authority", NULL, 0);
+ directory_initiate_command(me->address, me->addr, me->dir_port,
+ 0, me->cache_info.identity_digest,
+ DIR_PURPOSE_FETCH_SERVERDESC,
+ 1, "authority", NULL, 0);
+
control_event_server_status(LOG_NOTICE,
"CHECKING_REACHABILITY DIRADDRESS=%s:%d",
me->address, me->dir_port);