rename session_get0_current_packet() to session_get_current_packet()
This commit is contained in:
@@ -281,7 +281,7 @@ static void flow_stat_update(struct session *session, struct flow_stat *flow, ui
|
||||
flow->delta_pkts++;
|
||||
flow->delta_bytes += bytes;
|
||||
|
||||
const struct packet *pkt = session_get0_current_packet(session);
|
||||
const struct packet *pkt = session_get_current_packet(session);
|
||||
size_t payload_len = packet_get_payload_len(pkt);
|
||||
|
||||
if (payload_len > 0)
|
||||
@@ -610,7 +610,7 @@ static void session_flags_calculate_random_looking(struct session_flags_plugin_i
|
||||
|
||||
int udp_topic_id = sf_plugin_info->udp_topic_id;
|
||||
|
||||
const struct packet *pkt = session_get0_current_packet(session);
|
||||
const struct packet *pkt = session_get_current_packet(session);
|
||||
size_t payload_len = packet_get_payload_len(pkt);
|
||||
const char *payload = packet_get_payload(pkt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user