aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-07-01 02:01:21 +0000
committerRoger Dingledine <arma@torproject.org>2005-07-01 02:01:21 +0000
commit3bb756b93b89b474fce9cef8c5e11f07df8a66a3 (patch)
treecbf6291f4e05a9c10b2097bef1f14ca35a8d1483 /src/or/connection_edge.c
parent055477f121ae94614db22597946e68886ee5cad0 (diff)
downloadtor-3bb756b93b89b474fce9cef8c5e11f07df8a66a3.tar.gz
tor-3bb756b93b89b474fce9cef8c5e11f07df8a66a3.zip
forward-port the 0.1.0.11 stuff
svn:r4515
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 8df2f55daf..82ed35e502 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1553,7 +1553,7 @@ connection_exit_connect(connection_t *conn)
uint16_t port;
if (!connection_edge_is_rendezvous_stream(conn) &&
- router_compare_to_my_exit_policy(conn) == ADDR_POLICY_REJECTED) {
+ router_compare_to_my_exit_policy(conn)) {
log_fn(LOG_INFO,"%s:%d failed exit policy. Closing.",
safe_str(conn->address), conn->port);
connection_edge_end(conn, END_STREAM_REASON_EXITPOLICY, conn->cpath_layer);