1
This commit is contained in:
1 parent
7a5599b8f3
commit
0f0c8a39eb
1 file changed
+3
-1
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user