summaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-09-28 15:13:05 -0400
committerRoger Dingledine <arma@torproject.org>2011-09-28 15:13:05 -0400
commit4e88a3bc3e1a195864c3185d16d89e090246fc55 (patch)
tree0772d0b6ab4c6627891fa0326357115d984eccb5 /src/or/directory.c
parent458cc9d351f27092b245853fa72c5941389a3577 (diff)
parent0b5d2646d56fe351b8b2b4bc97bbad30cb34b6d4 (diff)
downloadtor-4e88a3bc3e1a195864c3185d16d89e090246fc55.tar.gz
tor-4e88a3bc3e1a195864c3185d16d89e090246fc55.zip
Merge branch 'maint-0.2.2'
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index f56a63c08c..776b7a25f9 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -828,8 +828,7 @@ directory_command_should_use_begindir(const or_options_t *options,
return 0; /* We don't know an ORPort -- no chance. */
if (!anonymized_connection)
if (!fascist_firewall_allows_address_or(addr, or_port) ||
- directory_fetches_from_authorities(options) ||
- (server_mode(options) && !options->Address))
+ directory_fetches_from_authorities(options))
return 0; /* We're firewalled or are acting like a relay -- also no. */
if (!options->TunnelDirConns &&
router_purpose != ROUTER_PURPOSE_BRIDGE)