Warning fix

This commit is contained in:
Luca
2017-11-23 15:39:20 +01:00
parent 8b1f8636d1
commit 8eaf0cefa1
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -113,6 +113,8 @@ void ndpi_search_rtp(struct ndpi_detection_module_struct *ndpi_struct, struct nd
{
struct ndpi_packet_struct *packet = &flow->packet;
/* printf("*** %s(pkt=%d)\n", __FUNCTION__, flow->packet_counter); */
if((packet->udp != NULL)
&& (ntohs(packet->udp->source) > 1023)
&& (ntohs(packet->udp->dest) > 1023))