mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Fix circuit_list_path_impl(): internal circuits do not have an "exit". Trivial fix for 3079.
This commit is contained in:
parent
68ae5afa5a
commit
4126de6888
@ -1506,7 +1506,7 @@ circuit_list_path_impl(origin_circuit_t *circ, int verbose, int verbose_names)
|
||||
circ->build_state->is_internal ? "internal" : "exit",
|
||||
circ->build_state->need_uptime ? " (high-uptime)" : "",
|
||||
circ->build_state->desired_path_len,
|
||||
circ->_base.state == CIRCUIT_STATE_OPEN ? "" : ", exit ",
|
||||
circ->_base.state == CIRCUIT_STATE_OPEN ? "" : ", last hop ",
|
||||
circ->_base.state == CIRCUIT_STATE_OPEN ? "" :
|
||||
(nickname?nickname:"*unnamed*"));
|
||||
smartlist_add(elements, cp);
|
||||
|
Loading…
Reference in New Issue
Block a user