aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/stun.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-05-06 10:19:46 +0200
committerGitHub <noreply@github.com>2024-05-06 10:19:46 +0200
commit266af0275241b96346372bbae936cd3dd1a35159 (patch)
treecbadf21cb1852ff65b1c87404c0fb0ba6d8f86e6 /src/lib/protocols/stun.c
parenta1845da3594c080bc59318ea9b465e15f0c5012c (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/stun.c')
-rw-r--r--src/lib/protocols/stun.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/protocols/stun.c b/src/lib/protocols/stun.c
index 40f00dca0..0cc0d1d80 100644
--- a/src/lib/protocols/stun.c
+++ b/src/lib/protocols/stun.c
@@ -311,9 +311,6 @@ static void parse_xor_ip_port_attribute(struct ndpi_detection_module_struct *ndp
}
}
}
-#ifndef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
-static
-#endif
int is_stun(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow,
u_int16_t *app_proto)