aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/vhua.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/vhua.c')
-rw-r--r--src/lib/protocols/vhua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/vhua.c b/src/lib/protocols/vhua.c
index b91793b1b..36e9f3a37 100644
--- a/src/lib/protocols/vhua.c
+++ b/src/lib/protocols/vhua.c
@@ -38,7 +38,7 @@ static void ndpi_int_vhua_add_connection(struct ndpi_detection_module_struct *nd
static void ndpi_check_vhua(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;
u_char p0[] = { 0x05, 0x14, 0x3a, 0x05, 0x08, 0xf8, 0xa1, 0xb1, 0x03 };