aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/amqp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/amqp.c')
-rw-r--r--src/lib/protocols/amqp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/amqp.c b/src/lib/protocols/amqp.c
index 74c3c6956..130030cf7 100644
--- a/src/lib/protocols/amqp.c
+++ b/src/lib/protocols/amqp.c
@@ -40,7 +40,7 @@ static void ndpi_int_amqp_add_connection(struct ndpi_detection_module_struct *nd
}
void ndpi_search_amqp(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;
NDPI_LOG_DBG(ndpi_struct, "search amqp\n");