diff options
author | Roger Dingledine <arma@torproject.org> | 2007-01-28 08:06:00 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-01-28 08:06:00 +0000 |
commit | f58678730cb099e0db6c535b8258cadbc10bc5f7 (patch) | |
tree | 13fdc1a613b00f7b9efe3b8c0ccb179a70e41e92 /src/or/router.c | |
parent | 1fea3a1e59ea1f16f5c42a9c69204454e2520e2a (diff) | |
download | tor-f58678730cb099e0db6c535b8258cadbc10bc5f7.tar.gz tor-f58678730cb099e0db6c535b8258cadbc10bc5f7.zip |
there's such a thing as too much indirection
svn:r9451
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/or/router.c b/src/or/router.c index b2d5444d57..f2cf47f40d 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); |