Remove too strict check for RTP

This commit is contained in:
Luca Deri 2018-02-21 07:43:59 +01:00
parent 6e7a1022b2
commit 06bb9a9c57

View file

@ -122,7 +122,7 @@ void ndpi_search_rtp(struct ndpi_detection_module_struct *ndpi_struct, struct nd
/* printf("*** %s(pkt=%d)\n", __FUNCTION__, flow->packet_counter); */
if((packet->udp != NULL)
&& (ntohs(packet->udp->source) > 1023)
/* && (ntohs(packet->udp->source) > 1023) */
&& (ntohs(packet->udp->dest) > 1023))
ndpi_rtp_search(ndpi_struct, flow, packet->payload, packet->payload_packet_len);
}