aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/zabbix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/zabbix.c')
-rw-r--r--src/lib/protocols/zabbix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/zabbix.c b/src/lib/protocols/zabbix.c
index 9e67a3159..bc2eb562b 100644
--- a/src/lib/protocols/zabbix.c
+++ b/src/lib/protocols/zabbix.c
@@ -36,7 +36,7 @@ static void ndpi_int_zabbix_add_connection(struct ndpi_detection_module_struct *
void ndpi_search_zabbix(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_int8_t tomatch[] = { 'Z', 'B', 'X', 'D', 0x1 };
NDPI_LOG_DBG(ndpi_struct, "search Zabbix\n");