diff options
author | Luca <deri@ntop.org> | 2017-11-23 15:39:20 +0100 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-11-23 15:39:20 +0100 |
commit | 8eaf0cefa1330c9b01b21b7f63f41f9ba1980eeb (patch) | |
tree | 8a8ded0461588fefabf7b38babe10d852835f0cc /src/lib/protocols/rtp.c | |
parent | 8b1f8636d17973a2af57391990ff8d7563d74862 (diff) |
Warning fix
Diffstat (limited to 'src/lib/protocols/rtp.c')
-rw-r--r-- | src/lib/protocols/rtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/protocols/rtp.c b/src/lib/protocols/rtp.c index 80848f5ba..1271510ff 100644 --- a/src/lib/protocols/rtp.c +++ b/src/lib/protocols/rtp.c @@ -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)) |