diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-31 16:17:04 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-31 16:17:04 -0500 |
commit | d1c2597096cac27eb9ee842f52384ca4cb28a195 (patch) | |
tree | aaa1b859ea69b01c1945d4d19a40ac97308bbf71 /src/or/channeltls.c | |
parent | 8b0b850efa0f77b627f31e9907acc6d29482f362 (diff) | |
parent | 33d9889a2bdd611bcc255c68c43d60b8919ab663 (diff) | |
download | tor-d1c2597096cac27eb9ee842f52384ca4cb28a195.tar.gz tor-d1c2597096cac27eb9ee842f52384ca4cb28a195.zip |
Merge remote-tracking branch 'dgoulet/ticket24902_029_05'
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r-- | src/or/channeltls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c index 023ccdefd3..ba35178520 100644 --- a/src/or/channeltls.c +++ b/src/or/channeltls.c @@ -522,7 +522,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); |