summaryrefslogtreecommitdiff
path: root/src/or/channeltls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-02-16 09:41:06 -0500
committerNick Mathewson <nickm@torproject.org>2018-02-16 09:41:06 -0500
commitcb92d47deca15c44dd52cad6fc326520648c632e (patch)
tree4a13531c5add07457232ad2d112e0cc17d2a7da6 /src/or/channeltls.c
parent2b99350ca4c905db1bd4f1aecc630b4f55933e96 (diff)
parente7f631478254c38d6d8b1bea65840b4c6429e4f4 (diff)
downloadtor-cb92d47deca15c44dd52cad6fc326520648c632e.tar.gz
tor-cb92d47deca15c44dd52cad6fc326520648c632e.zip
Merge remote-tracking branch 'dgoulet/ticket24902_029_05' into maint-0.2.9
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r--src/or/channeltls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c
index 31641c3db0..3a352d47fe 100644
--- a/src/or/channeltls.c
+++ b/src/or/channeltls.c
@@ -514,7 +514,7 @@ channel_tls_get_remote_addr_method(channel_t *chan, tor_addr_t *addr_out)
tor_assert(addr_out);
if (tlschan->conn) {
- tor_addr_copy(addr_out, &(TO_CONN(tlschan->conn)->addr));
+ tor_addr_copy(addr_out, &(tlschan->conn->real_addr));
rv = 1;
} else tor_addr_make_unspec(addr_out);