Ivan Nardi
2022-01-18 21:52:37 +01:00
committed by GitHub
parent bd036f96f9
commit 9f050fa0a6
3 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ void ndpi_search_h323(struct ndpi_detection_module_struct *ndpi_struct, struct n
NDPI_LOG_DBG2(ndpi_struct, "calculated dport over tcp\n");
/* H323 */
if(packet->payload_packet_len > 4
if(packet->payload_packet_len > 5
&& (packet->payload[0] == 0x03)
&& (packet->payload[1] == 0x00)) {
struct tpkt *t = (struct tpkt*)packet->payload;