diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-05-06 10:19:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-06 10:19:46 +0200 |
commit | 266af0275241b96346372bbae936cd3dd1a35159 (patch) | |
tree | cbadf21cb1852ff65b1c87404c0fb0ba6d8f86e6 /src/lib/protocols/line.c | |
parent | a1845da3594c080bc59318ea9b465e15f0c5012c (diff) |
Merge RTP and RTCP logic (#2416)
Avoid code duplication between these two protocols.
We remove support for RTCP over TCP; it is quite rare to find this kind
of traffic and, more important, we have never had support for RTP
over TCP: we should try to add both detecion as follow-up.
Fix a message log in the LINE code
Diffstat (limited to 'src/lib/protocols/line.c')
-rw-r--r-- | src/lib/protocols/line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/line.c b/src/lib/protocols/line.c index 0de5e856e..6b69d690c 100644 --- a/src/lib/protocols/line.c +++ b/src/lib/protocols/line.c @@ -86,7 +86,7 @@ static void ndpi_search_line(struct ndpi_detection_module_struct *ndpi_struct, (packet->payload[1] == 201 || /* RTCP, Receiver Report */ packet->payload[1] == 200 || /* RTCP, Sender Report */ is_valid_rtp_payload_type(packet->payload[1] & 0x7F)) /* RTP */) { - NDPI_LOG_DBG(ndpi_struct, "Probably RTP; keep looking for LINE"); + NDPI_LOG_DBG(ndpi_struct, "Probably RTP; keep looking for LINE\n"); return; } else { if((u_int8_t)(flow->l4.udp.line_base_cnt[packet->packet_direction] + |