commit e54d664f7bb1205162c1df3495f8ebc30c23d867 Author: Karsten Loesing karsten.loesing@gmx.net Date: Wed Feb 6 14:04:27 2013 +0100
Add connection ID to ORCONN event.
Jointly authored with Rob Jansen jansen@cs.umn.edu. --- src/or/control.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/control.c b/src/or/control.c index 75f7af9..0f202c8 100644 --- a/src/or/control.c +++ b/src/or/control.c @@ -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);