summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-01-06 16:14:13 +0000
committerRoger Dingledine <arma@torproject.org>2009-01-06 16:14:13 +0000
commit59e380c559819ae9d481fe460ccae3f9f9e5d1c8 (patch)
tree31869ee8a79e0953ec1a01f2299ca35864edca60 /src/or
parent14430690183a3bbcf9bfa4abd4639fcc5a0e2e14 (diff)
downloadtor-59e380c559819ae9d481fe460ccae3f9f9e5d1c8.tar.gz
tor-59e380c559819ae9d481fe460ccae3f9f9e5d1c8.zip
backport r17958
svn:r17961
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index d0671fccf1..05a219b241 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -2468,7 +2468,9 @@ directory_handle_command_get(dir_connection_t *conn, const char *headers,
}
if (!strcmpstart(url,"/tor/server/") ||
- (!options->BridgeAuthoritativeDir && !strcmpstart(url,"/tor/extra/"))) {
+ (!options->BridgeAuthoritativeDir &&
+ !options->BridgeRelay &&
+ !strcmpstart(url,"/tor/extra/"))) {
int res;
const char *msg;
const char *request_type = NULL;