mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
relay/circuitbuild: Report IPv6 addresses in a debug log
Part of 33817.
This commit is contained in:
parent
f8f688b309
commit
ec5f4f3c5a
@ -337,9 +337,13 @@ circuit_extend(struct cell_t *cell, struct circuit_t *circ)
|
|||||||
&should_launch);
|
&should_launch);
|
||||||
|
|
||||||
if (!n_chan) {
|
if (!n_chan) {
|
||||||
log_debug(LD_CIRC|LD_OR,"Next router (%s): %s.",
|
/* We can't use fmt_addr*() twice in the same function call,
|
||||||
fmt_addrport(&ec.orport_ipv4.addr,ec.orport_ipv4.port),
|
* because it uses a static buffer. */
|
||||||
msg?msg:"????");
|
log_debug(LD_CIRC|LD_OR, "Next router IPv4 (%s): %s.",
|
||||||
|
fmt_addrport_ap(&ec.orport_ipv4),
|
||||||
|
msg ? msg : "????");
|
||||||
|
log_debug(LD_CIRC|LD_OR, "Next router IPv6 (%s).",
|
||||||
|
fmt_addrport_ap(&ec.orport_ipv6));
|
||||||
|
|
||||||
circuit_open_connection_for_extend(&ec, circ, should_launch);
|
circuit_open_connection_for_extend(&ec, circ, should_launch);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user