aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/circuitbuild_relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-14 14:28:33 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-16 09:02:10 -0400
commitab428ef60b701075158f1c06676bcc394f0969b2 (patch)
treef5a800772ff36fa7d8b58fef917505d23bd8faca /src/feature/relay/circuitbuild_relay.c
parent4f4785a8c113806d00c6a31154956edb86c1639f (diff)
downloadtor-ab428ef60b701075158f1c06676bcc394f0969b2.tar.gz
tor-ab428ef60b701075158f1c06676bcc394f0969b2.zip
Collapse channel_get_*_remote_addr() into a single function.
Since we can list the real address and the canonical one in a human-readable format we don't need to pick.
Diffstat (limited to 'src/feature/relay/circuitbuild_relay.c')
-rw-r--r--src/feature/relay/circuitbuild_relay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/circuitbuild_relay.c b/src/feature/relay/circuitbuild_relay.c
index 881cbd51be..ad20e143be 100644
--- a/src/feature/relay/circuitbuild_relay.c
+++ b/src/feature/relay/circuitbuild_relay.c
@@ -501,7 +501,7 @@ circuit_extend(struct cell_t *cell, struct circuit_t *circ)
circ->n_chan = n_chan;
log_debug(LD_CIRC,
"n_chan is %s.",
- channel_get_canonical_remote_descr(n_chan));
+ channel_describe_peer(n_chan));
if (circuit_deliver_create_cell(circ, &ec.create_cell, 1) < 0)
return -1;