aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tcp_udp.c
diff options
context:
space:
mode:
authorHidde van der Heide <hvanderheide@nexuz.net>2017-12-20 13:19:24 +0100
committerHidde van der Heide <hvanderheide@nexuz.net>2017-12-20 13:19:24 +0100
commitbf8c9c2625928e069266b96cf92a4b493a58ff4b (patch)
treef548317cbdc98bec3390d78bf5383aecbffeac14 /src/lib/protocols/tcp_udp.c
parentee957e083153b3bd42231836ddb29e6bbf843aa0 (diff)
parentf024e72effe55fc0f78f8682814240f4ee1e4dc0 (diff)
Merge remote-tracking branch 'upstream/dev' into dev
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 f7e8c9ac1..407d36b3b 100644
--- a/src/lib/protocols/tcp_udp.c
+++ b/src/lib/protocols/tcp_udp.c
@@ -74,7 +74,7 @@ void ndpi_search_tcp_or_udp(struct ndpi_detection_module_struct *ndpi_struct, st
flow,
flow->packet.iph ? flow->packet.iph->protocol :
#ifdef NDPI_DETECTION_SUPPORT_IPV6
- flow->packet.iphv6->ip6_ctlun.ip6_un1.ip6_un1_nxt,
+ flow->packet.iphv6->ip6_hdr.ip6_un1_nxt,
#else
0,
#endif