mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Log a notice when we get a new control connection
This commit is contained in:
parent
571c94a735
commit
c32e8c292e
@ -209,6 +209,7 @@ control_connection_new(int socket_family)
|
|||||||
tor_malloc_zero(sizeof(control_connection_t));
|
tor_malloc_zero(sizeof(control_connection_t));
|
||||||
connection_init(time(NULL),
|
connection_init(time(NULL),
|
||||||
TO_CONN(control_conn), CONN_TYPE_CONTROL, socket_family);
|
TO_CONN(control_conn), CONN_TYPE_CONTROL, socket_family);
|
||||||
|
log_notice(LD_CONTROL, "New control connection opened.");
|
||||||
return control_conn;
|
return control_conn;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user