diff options
author | Mike Perry <mikeperry-git@torproject.org> | 2023-07-31 14:12:39 +0000 |
---|---|---|
committer | Mike Perry <mikeperry-git@torproject.org> | 2023-07-31 14:12:39 +0000 |
commit | 74d6fd534a4619f73b642f12d0fa9d00f247c804 (patch) | |
tree | cd2622fb948c2f5fb883b05a57cb09ae0d441c11 /src/feature/relay | |
parent | 4667195deded5e34d93ef9984ff091b2ae822fbb (diff) | |
download | tor-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.c | 2 |
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; } |