mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Scrub IP in channel_tls_process_netinfo_cell() if SafeLogging is on
This commit is contained in:
parent
9ae3597540
commit
9c34f95b89
1 changed files with 2 additions and 1 deletions
|
@ -1837,7 +1837,8 @@ channel_tls_process_netinfo_cell(cell_t *cell, channel_tls_t *chan)
|
|||
(int)(chan->conn->link_proto),
|
||||
hex_str(identity_digest, DIGEST_LEN),
|
||||
tor_addr_is_null(&my_apparent_addr) ?
|
||||
"<none>" : fmt_and_decorate_addr(&my_apparent_addr));
|
||||
"<none>" :
|
||||
safe_str_client(fmt_and_decorate_addr(&my_apparent_addr)));
|
||||
}
|
||||
assert_connection_ok(TO_CONN(chan->conn),time(NULL));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue