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
This commit is contained in:
Karsten Loesing
2009-02-10 18:52:47 +00:00
parent 2387d11513
commit 34b285b09f
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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 */