diff --git a/tools/chatgui/transport/utun_node.cpp b/tools/chatgui/transport/utun_node.cpp index 19363b11..e56b5923 100644 --- a/tools/chatgui/transport/utun_node.cpp +++ b/tools/chatgui/transport/utun_node.cpp @@ -310,6 +310,10 @@ void UtunNode::runLoop() { return; } + { int sock_count = 0; for (struct ETCP_SOCKET* s = m_instance->etcp_sockets; s; s = s->next) sock_count++; + DEBUG_INFO(DEBUG_CATEGORY_DEBUG, "utun_node: after instance_init, etcp_sockets=%d conns=%d", + sock_count, queue_entry_count(m_instance->connections)); } + etcp_router_bind(m_instance, ETCP_RT_ID_CHAT, recvCallback); /* Initialize chat_core (DB) and chat_sync (channel/message P2P sync) */