Improved WhatsAppVoice detection

This commit is contained in:
Luca Deri
2016-02-15 22:16:39 +01:00
parent e1481f3a90
commit 15ccb70ae6
9 changed files with 434 additions and 430 deletions
+1 -1
View File
@@ -3006,7 +3006,7 @@ void check_ndpi_udp_flow_func(struct ndpi_detection_module_struct *ndpi_struct,
}
for(a = 0; a < ndpi_struct->callback_buffer_size_udp; a++) {
if((func != ndpi_struct->callback_buffer_tcp_payload[a].func)
if((func != ndpi_struct->callback_buffer_udp[a].func)
&& (ndpi_struct->callback_buffer_udp[a].ndpi_selection_bitmask & *ndpi_selection_packet) ==
ndpi_struct->callback_buffer_udp[a].ndpi_selection_bitmask
&& NDPI_BITMASK_COMPARE(flow->excluded_protocol_bitmask,