✨ feat(stellar core): module & node register in stellar_new
This commit is contained in:
@@ -303,7 +303,7 @@ struct session_manager *session_manager_new(struct packet_manager *pkt_mgr, cons
|
||||
SESSION_MANAGER_LOG_ERROR("failed to enable auto output");
|
||||
goto error_out;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (packet_manager_register_node(pkt_mgr, "session_manager", PACKET_STAGE_FORWARD, PKT_TAG_KEY_IPPROTO, PKT_TAG_VAL_IPPROTO_TCP | PKT_TAG_VAL_IPPROTO_UDP, session_manager_on_packet_forward, sess_mgr))
|
||||
{
|
||||
SESSION_MANAGER_LOG_ERROR("failed to subscribe PACKET_STAGE_FORWARD");
|
||||
@@ -314,6 +314,7 @@ struct session_manager *session_manager_new(struct packet_manager *pkt_mgr, cons
|
||||
SESSION_MANAGER_LOG_ERROR("failed to subscribe PACKET_STAGE_OUTPUT");
|
||||
goto error_out;
|
||||
}
|
||||
#endif
|
||||
|
||||
sess_mgr->ex_sche = exdata_schema_new();
|
||||
if (sess_mgr->ex_sche == NULL)
|
||||
|
||||
Reference in New Issue
Block a user