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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/protocols/vhua.c b/src/lib/protocols/vhua.c
index 8e3bc4b30..b91793b1b 100644
--- a/src/lib/protocols/vhua.c
+++ b/src/lib/protocols/vhua.c
@@ -55,12 +55,10 @@ static void ndpi_check_vhua(struct ndpi_detection_module_struct *ndpi_struct, st
}
void ndpi_search_vhua(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) {
- struct ndpi_packet_struct *packet = &flow->packet;
-
NDPI_LOG_DBG(ndpi_struct, "search VHUA\n");
/* skip marked packets */
- if(packet->detected_protocol_stack[0] != NDPI_PROTOCOL_VHUA) {
+ if(flow->detected_protocol_stack[0] != NDPI_PROTOCOL_VHUA) {
ndpi_check_vhua(ndpi_struct, flow);
}
}