summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-02-23 20:13:02 +0000
committerNick Mathewson <nickm@torproject.org>2007-02-23 20:13:02 +0000
commit55cbbdf9bfea465ecbfd5ef67dc7d37650a07018 (patch)
treeba4152a0d8c0ff21ad863d24cd42a35f52d4f50f /src/or/connection_edge.c
parentf1d207b29a8b4e7b55ea5f95212428581e34306a (diff)
downloadtor-55cbbdf9bfea465ecbfd5ef67dc7d37650a07018.tar.gz
tor-55cbbdf9bfea465ecbfd5ef67dc7d37650a07018.zip
r11895@catbus: nickm | 2007-02-23 15:12:58 -0500
Make remap stream events have a souce; make them generated every time we get a successful connected or resolved cell. Also change reported stream target address to IP consistently when we get the IP from an exit node. svn:r9624
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index f7af439b01..14140f0075 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1212,7 +1212,8 @@ connection_ap_handshake_rewrite_and_attach(edge_connection_t *conn,
} else {
/* For address map controls, remap the address */
if (addressmap_rewrite(socks->address, sizeof(socks->address))) {
- control_event_stream_status(conn, STREAM_EVENT_REMAP, 0);
+ control_event_stream_status(conn, STREAM_EVENT_REMAP,
+ REMAP_STREAM_SOURCE_CACHE);
}
}