diff options
author | Roger Dingledine <arma@torproject.org> | 2007-04-27 10:26:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-04-27 10:26:09 +0000 |
commit | 397afcc3f667f02de3599ab3ba53638b484853b7 (patch) | |
tree | f665acb174529ea2bb1f128f0ace2b4c2315e58a /src/or/router.c | |
parent | 3d00738ec72e87d5d67f1c44f0a73217650a6a65 (diff) | |
download | tor-397afcc3f667f02de3599ab3ba53638b484853b7.tar.gz tor-397afcc3f667f02de3599ab3ba53638b484853b7.zip |
Make PreferTunneledDirConns and TunnelDirConns work even when
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.
svn:r10035
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index ad7ad96a24..0dfe62d62d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -507,7 +507,8 @@ 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(me->address, me->addr, me->dir_port, + directory_initiate_command(me->address, me->addr, + me->or_port, me->dir_port, 0, me->cache_info.identity_digest, DIR_PURPOSE_FETCH_SERVERDESC, 1, "authority", NULL, 0); |