Update session.h: support get tuple6 by session

This commit is contained in:
luwenpeng
2024-05-15 16:29:33 +08:00
parent 5e10870833
commit 7b20747c8f
17 changed files with 138 additions and 138 deletions

View File

@@ -18,7 +18,7 @@ static void update_session_stat(struct session *sess, struct packet *pkt)
{
if (sess)
{
enum flow_direction dir = session_get_flow_direction(sess);
enum flow_direction dir = session_get_current_flow_direction(sess);
int is_ctrl = packet_is_ctrl(pkt);
switch (packet_get_action(pkt))
{