diff options
author | Roger Dingledine <arma@torproject.org> | 2006-12-12 20:23:17 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-12-12 20:23:17 +0000 |
commit | 1efd3774286e57f2faeaf37d66291a94c6aaab67 (patch) | |
tree | 92cfbe8ee4a115cd2db5bd04ecc7224b629b8308 /src/or/circuituse.c | |
parent | 7217f3ca47d1b78d0840d632e17ee1821a527022 (diff) | |
download | tor-1efd3774286e57f2faeaf37d66291a94c6aaab67.tar tor-1efd3774286e57f2faeaf37d66291a94c6aaab67.tar.gz |
Fix a bug in 0.1.2.2-alpha that prevented clients from asking
to resolve an address at a given exit node even when they ask for
it by name.
svn:r9095
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 73e72f3e1..42d220f1d 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -1182,7 +1182,7 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn) } return -1; } - if (conn->_base.purpose != EXIT_PURPOSE_RESOLVE && + if (!SOCKS_COMMAND_IS_RESOLVE(conn->socks_request->command) && !connection_ap_can_use_exit(conn, router)) { log_fn(opt ? LOG_INFO : LOG_WARN, LD_APP, "Requested exit point '%s' would refuse request. %s.", |