diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-07-17 07:01:36 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2007-07-17 07:01:36 +0000 |
commit | 8cb4cc6aaf769f23ffe827bb13437d830f659fc0 (patch) | |
tree | fb9c1f1f2e750258a10160f3b18883a9c3312d17 | |
parent | a1f317de363550ac85528a53609ce50710715745 (diff) | |
download | wireshark-8cb4cc6aaf769f23ffe827bb13437d830f659fc0.tar.gz |
Fix for bug 1616:
ICMPv6 & UDP w/IPv6 checksum with a routing header fixed using the routing header address now.
svn path=/trunk/; revision=22331
-rw-r--r-- | epan/dissectors/packet-ipv6.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ipv6.c b/epan/dissectors/packet-ipv6.c index a09557d90b..fbbbe4b8f6 100644 --- a/epan/dissectors/packet-ipv6.c +++ b/epan/dissectors/packet-ipv6.c @@ -350,6 +350,9 @@ dissect_routing6(tvbuff_t *tvb, int offset, proto_tree *tree, packet_info *pinfo offset + offsetof(struct ip6_rthdr0, ip6r0_addr) + n * sizeof(struct e_in6_addr), sizeof(struct e_in6_addr), FALSE); + SET_ADDRESS(&pinfo->dst, AT_IPv6, 16, tvb_get_ptr(tvb, + offset + offsetof(struct ip6_rthdr0, ip6r0_addr) + + n * sizeof(struct e_in6_addr), 16)); } } if (rt.ip6r_type == IPv6_RT_HEADER_MobileIP) { |