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); }