aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tcp_udp.c
diff options
context:
space:
mode:
authorCampus <campus@ntop.org>2015-11-09 13:44:23 +0100
committerCampus <campus@ntop.org>2015-11-09 13:44:23 +0100
commit9fa2c7404f9017e8ff74dc181c96feb496c72fac (patch)
tree0f68d3aeaab5abe2bda79befb91712b40ce1ca15 /src/lib/protocols/tcp_udp.c
parent8cd0a8838abaa1d38697e8ec96eb2c1c1a290f21 (diff)
fixed mdns and tcp/udp protocols after changes
Diffstat (limited to 'src/lib/protocols/tcp_udp.c')
-rw-r--r--src/lib/protocols/tcp_udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/tcp_udp.c b/src/lib/protocols/tcp_udp.c
index de9700e4a..9f9febfeb 100644
--- a/src/lib/protocols/tcp_udp.c
+++ b/src/lib/protocols/tcp_udp.c
@@ -64,7 +64,7 @@ void ndpi_search_tcp_or_udp(struct ndpi_detection_module_struct *ndpi_struct, st
proto = ndpi_search_tcp_or_udp_raw(ndpi_struct,
flow->packet.iph ? flow->packet.iph->protocol :
#ifdef NDPI_DETECTION_SUPPORT_IPV6
- flow->packet.iphv6->nexthdr,
+ flow->packet.iphv6->ip6_ctlun.ip6_un1.ip6_un1_nxt,
#else
0,
#endif