aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@torproject.org>2023-07-31 14:12:39 +0000
committerMike Perry <mikeperry-git@torproject.org>2023-07-31 14:12:39 +0000
commit74d6fd534a4619f73b642f12d0fa9d00f247c804 (patch)
treecd2622fb948c2f5fb883b05a57cb09ae0d441c11 /src/feature/relay
parent4667195deded5e34d93ef9984ff091b2ae822fbb (diff)
downloadtor-74d6fd534a4619f73b642f12d0fa9d00f247c804.tar.gz
tor-74d6fd534a4619f73b642f12d0fa9d00f247c804.zip
Bug 40828: Add more log scrubbing to protocol warnings
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/relay_find_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/relay_find_addr.c b/src/feature/relay/relay_find_addr.c
index 5a32283a7b..106117b236 100644
--- a/src/feature/relay/relay_find_addr.c
+++ b/src/feature/relay/relay_find_addr.c
@@ -78,7 +78,7 @@ relay_address_new_suggestion(const tor_addr_t *suggested_addr,
/* Do not believe anyone who says our address is their address. */
log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
"A relay endpoint %s is telling us that their address is ours.",
- fmt_addr(peer_addr));
+ safe_str(fmt_addr(peer_addr)));
return;
}