diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-14 14:28:33 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-16 09:02:10 -0400 |
commit | ab428ef60b701075158f1c06676bcc394f0969b2 (patch) | |
tree | f5a800772ff36fa7d8b58fef917505d23bd8faca /src/core/or/connection_edge.c | |
parent | 4f4785a8c113806d00c6a31154956edb86c1639f (diff) | |
download | tor-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/core/or/connection_edge.c')
-rw-r--r-- | src/core/or/connection_edge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/connection_edge.c b/src/core/or/connection_edge.c index 2798d1bf37..8eb9f8ba0f 100644 --- a/src/core/or/connection_edge.c +++ b/src/core/or/connection_edge.c @@ -3973,7 +3973,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ) * proxies. */ log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL, "Attempt by %s to open a stream %s. Closing.", - safe_str(channel_get_canonical_remote_descr(or_circ->p_chan)), + safe_str(channel_describe_peer(or_circ->p_chan)), client_chan ? "on first hop of circuit" : "from unknown relay"); relay_send_end_cell_from_edge(rh.stream_id, circ, |