postgres: improve detection (#1831)
Remove some dead code (found via coverage report)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user