postgres: improve detection (#1831)
Remove some dead code (found via coverage report)
This commit is contained in:
@@ -100,10 +100,8 @@ void ndpi_search_ookla(struct ndpi_detection_module_struct* ndpi_struct, struct
|
||||
} else {
|
||||
if(sport == ookla_port)
|
||||
addr = packet->iph->saddr;
|
||||
else if(dport == ookla_port)
|
||||
addr = packet->iph->daddr;
|
||||
else
|
||||
goto ookla_exclude;
|
||||
addr = packet->iph->daddr;
|
||||
|
||||
#ifdef OOKLA_DEBUG
|
||||
printf("=>>>>>>>> [OOKLA IPv4] Searching %u\n", addr);
|
||||
|
||||
Reference in New Issue
Block a user