summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
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 fd250a36a9..c2f4f68440 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2798,7 +2798,7 @@ connection_exit_connect_dir(edge_connection_t *exitconn)
tor_addr_assign(&dirconn->_base.addr, &exitconn->_base.addr);
dirconn->_base.port = 0;
- dirconn->_base.address = tor_strdup(exitconn->address);
+ dirconn->_base.address = tor_strdup(exitconn->_base.address);
dirconn->_base.type = CONN_TYPE_DIR;
dirconn->_base.purpose = DIR_PURPOSE_SERVER;
dirconn->_base.state = DIR_CONN_STATE_SERVER_COMMAND_WAIT;