aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/rtmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/rtmp.c')
-rw-r--r--src/lib/protocols/rtmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/rtmp.c b/src/lib/protocols/rtmp.c
index 2f49b9faa..80d92f151 100644
--- a/src/lib/protocols/rtmp.c
+++ b/src/lib/protocols/rtmp.c
@@ -37,7 +37,7 @@ static void ndpi_int_rtmp_add_connection(struct ndpi_detection_module_struct *nd
static void ndpi_check_rtmp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
{
- struct ndpi_packet_struct *packet = &flow->packet;
+ struct ndpi_packet_struct *packet = &ndpi_struct->packet;
u_int32_t payload_len = packet->payload_packet_len;
/* Break after 20 packets. */