diff options
author | Roger Dingledine <arma@torproject.org> | 2008-06-30 23:27:50 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-06-30 23:27:50 +0000 |
commit | aeca4d90ed7d6c215672387ffc49434122e9baa3 (patch) | |
tree | 94cafb0426963661ac1be843cea14ec37d646994 /src | |
parent | a9e8784c2fce703aab8cd34577b65cb356e65ce7 (diff) | |
download | tor-aeca4d90ed7d6c215672387ffc49434122e9baa3.tar.gz tor-aeca4d90ed7d6c215672387ffc49434122e9baa3.zip |
backport r15571 and give it a changelog entry
svn:r15578
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index a9b930b42f..161a70d0ae 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -2712,9 +2712,9 @@ connection_exit_connect_dir(edge_connection_t *exitconn) dirconn = TO_DIR_CONN(connection_new(CONN_TYPE_DIR, AF_INET)); - dirconn->_base.addr = 0x7f000001; + dirconn->_base.addr = exitconn->_base.addr; dirconn->_base.port = 0; - dirconn->_base.address = tor_strdup("Tor network"); + dirconn->_base.address = tor_strdup(circ->p_conn->_base.address); dirconn->_base.type = CONN_TYPE_DIR; dirconn->_base.purpose = DIR_PURPOSE_SERVER; dirconn->_base.state = DIR_CONN_STATE_SERVER_COMMAND_WAIT; |