Removed now obsolete NDPI_DETECTION_SUPPORT_IPV6: code is more readeable now

This commit is contained in:
Luca Deri
2021-02-10 19:09:11 +01:00
parent 76ac551ed3
commit ea0309d21b
10 changed files with 19 additions and 102 deletions
-2
View File
@@ -43,9 +43,7 @@ void ndpi_search_in_non_tcp_udp(struct ndpi_detection_module_struct
struct ndpi_packet_struct *packet = &flow->packet;
if (packet->iph == NULL) {
#ifdef NDPI_DETECTION_SUPPORT_IPV6
if (packet->iphv6 == NULL)
#endif
return;
}