From 7d03749522f9c48bf5297eb16426bf0cb1af5cf3 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 26 Apr 2026 19:53:05 +0300 Subject: [PATCH] 1 --- src/etcp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/etcp.c b/src/etcp.c index 32639ec9..aaa4531f 100644 --- a/src/etcp.c +++ b/src/etcp.c @@ -148,11 +148,13 @@ struct ETCP_CONN* etcp_connection_create(struct UTUN_INSTANCE* instance, char* n static void etcp_on_up(struct ETCP_CONN* etcp) { - if (!etcp->initialized) return; +// if (!etcp->initialized) return; + DEBUG_DEBUG(DEBUG_CATEGORY_ETCP, "[%s] initialized=%d", etcp->log_name, etcp->initialized); if (etcp->up_cbk) etcp->up_cbk(etcp, etcp->up_arg); } static void etcp_on_down(struct ETCP_CONN* etcp) { + DEBUG_DEBUG(DEBUG_CATEGORY_ETCP, "[%s]", etcp->log_name); if (etcp->down_cbk) etcp->down_cbk(etcp, etcp->down_arg); }