aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-02-10 18:52:47 +0000
committerKarsten Loesing <karsten.loesing@gmx.net>2009-02-10 18:52:47 +0000
commit34b285b09fda0b03da46b802cdebc2580b10f914 (patch)
treecf62c323caa3ebdf21407d3cd9a46c0aa8f62c93 /src
parent2387d11513944910b97fb361c2548bde650ddf72 (diff)
downloadtor-34b285b09fda0b03da46b802cdebc2580b10f914.tar
tor-34b285b09fda0b03da46b802cdebc2580b10f914.tar.gz
As an exit node, scrub the IP address to which we are exiting in the logs. Bugfix on 0.2.1.8-alpha.
svn:r18477
Diffstat (limited to 'src')
-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 cd04f3287..a157bdbb2 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -330,7 +330,7 @@ connection_edge_finished_connecting(edge_connection_t *edge_conn)
log_info(LD_EXIT,"Exit connection to %s:%u (%s) established.",
escaped_safe_str(conn->address),conn->port,
- fmt_addr(&conn->addr));
+ safe_str(fmt_addr(&conn->addr)));
conn->state = EXIT_CONN_STATE_OPEN;
connection_watch_events(conn, EV_READ); /* stop writing, continue reading */