summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-12 21:09:30 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-12 21:09:30 +0000
commit477438e6c72c3b365a82706417da0ccab0c2bc3a (patch)
treef0810edbcb9914459562a0dd5004b49e70ef1141 /src/or/connection_edge.c
parent1efd3774286e57f2faeaf37d66291a94c6aaab67 (diff)
downloadtor-477438e6c72c3b365a82706417da0ccab0c2bc3a.tar.gz
tor-477438e6c72c3b365a82706417da0ccab0c2bc3a.zip
a better fix. puts r8446 to bed.
svn:r9096
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index c2a88ef548..9379d04a76 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2404,7 +2404,7 @@ connection_ap_can_use_exit(edge_connection_t *conn, routerinfo_t *exit)
return 0;
/* Don't send DNS requests to non-exit servers by default. */
- if (policy_is_reject_star(exit->exit_policy))
+ if (!conn->chosen_exit_name && policy_is_reject_star(exit->exit_policy))
return 0;
}
return 1;