mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +01:00
Add connection ID to ORCONN event.
Jointly authored with Rob Jansen <jansen@cs.umn.edu>.
This commit is contained in:
parent
95c34399cf
commit
e54d664f7b
1 changed files with 2 additions and 1 deletions
|
@ -3843,8 +3843,9 @@ control_event_or_conn_status(or_connection_t *conn, or_conn_status_event_t tp,
|
|||
|
||||
orconn_target_get_name(name, sizeof(name), conn);
|
||||
send_control_event(EVENT_OR_CONN_STATUS, ALL_FORMATS,
|
||||
"650 ORCONN %s %s %s%s%s\r\n",
|
||||
"650 ORCONN %s %s ID="U64_FORMAT" %s%s%s\r\n",
|
||||
name, status,
|
||||
U64_PRINTF_ARG(conn->base_.global_identifier),
|
||||
reason ? "REASON=" : "",
|
||||
orconn_end_reason_to_control_string(reason),
|
||||
ncircs_buf);
|
||||
|
|
Loading…
Add table
Reference in a new issue