From 06bb9a9c57cc1c6fa4d6a5f88cdeeb40d73a0866 Mon Sep 17 00:00:00 2001
From: Luca Deri <deri@ntop.org>
Date: Wed, 21 Feb 2018 07:43:59 +0100
Subject: Remove too strict check for RTP

---
 src/lib/protocols/rtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib')

diff --git a/src/lib/protocols/rtp.c b/src/lib/protocols/rtp.c
index a61e732d2..c6fc29ead 100644
--- a/src/lib/protocols/rtp.c
+++ b/src/lib/protocols/rtp.c
@@ -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);
 }
-- 
cgit v1.2.3