aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/dns.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2022-12-22 21:41:32 +0100
committerGitHub <noreply@github.com>2022-12-22 21:41:32 +0100
commit5fafe8374a5cc0cc890053c5bf0cb81b3bda80c9 (patch)
tree41a82c662550d5aaab0c31e45875106c61e3949e /src/lib/protocols/dns.c
parente9d5e72fb58d5989673487c4b4ef4584d8694467 (diff)
postgres: improve detection (#1831)
Remove some dead code (found via coverage report)
Diffstat (limited to 'src/lib/protocols/dns.c')
-rw-r--r--src/lib/protocols/dns.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c
index 855232ecd..298f0967f 100644
--- a/src/lib/protocols/dns.c
+++ b/src/lib/protocols/dns.c
@@ -105,13 +105,10 @@ static u_int16_t checkPort(u_int16_t port) {
switch(port) {
case DNS_PORT:
return(NDPI_PROTOCOL_DNS);
- break;
case LLMNR_PORT:
return(NDPI_PROTOCOL_LLMNR);
- break;
case MDNS_PORT:
return(NDPI_PROTOCOL_MDNS);
- break;
}
return(0);