aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/tcp_udp.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2017-12-08 18:13:31 +0100
committerLuca Deri <deri@ntop.org>2017-12-08 18:13:31 +0100
commit61bc528159ea332c0463ae2b3a056b2effce0b88 (patch)
tree37445f4c68266642e9a10f5fc52e1a8cc9fdd705 /src/lib/protocols/tcp_udp.c
parent811717e7c17a5356189de7b15e027718db93c016 (diff)
Simplified IPv6 datatypes
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