From ea0309d21b168d70b853986a342d08966012d07b Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Wed, 10 Feb 2021 19:09:11 +0100 Subject: Removed now obsolete NDPI_DETECTION_SUPPORT_IPV6: code is more readeable now --- src/lib/protocols/non_tcp_udp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lib/protocols/non_tcp_udp.c') diff --git a/src/lib/protocols/non_tcp_udp.c b/src/lib/protocols/non_tcp_udp.c index 1784f11d2..46ff4e67b 100644 --- a/src/lib/protocols/non_tcp_udp.c +++ b/src/lib/protocols/non_tcp_udp.c @@ -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; } -- cgit v1.2.3