rename session_get0_current_packet() to session_get_current_packet()

This commit is contained in:
luwenpeng
2024-11-01 15:36:18 +08:00
parent c05d3fe2d5
commit da9e15264d
20 changed files with 52 additions and 52 deletions

View File

@@ -62,7 +62,7 @@ static void lpi_plus_get_host_order_port(struct session *sess __unused, unsigned
*dport=0;
//get host order port from stellar session api
const struct packet *pkt = session_get0_current_packet(sess);
const struct packet *pkt = session_get_current_packet(sess);
enum flow_type flow_type=session_get_flow_type(sess);
if(pkt && (flow_type==FLOW_TYPE_C2S || flow_type==FLOW_TYPE_S2C))
{