aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icmpv6.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-09-19 19:12:25 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-09-19 19:12:25 +0000
commit4b5a9a26636fd463addfa406521033a29d27d360 (patch)
tree404434410ed4bb58d69710bfc2f309033b8d9811 /epan/dissectors/packet-icmpv6.c
parent86db174948ce84b954c688f9fe6a895d4e512383 (diff)
Since r41681, IPv6 sets pinfo->ip_ttl as the hop limit, so display that in the
INFO column, similar to how IPv4 displays the TTL. svn path=/trunk/; revision=45008
Diffstat (limited to 'epan/dissectors/packet-icmpv6.c')
-rw-r--r--epan/dissectors/packet-icmpv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-icmpv6.c b/epan/dissectors/packet-icmpv6.c
index 40c8437593..5a2cdae781 100644
--- a/epan/dissectors/packet-icmpv6.c
+++ b/epan/dissectors/packet-icmpv6.c
@@ -3250,7 +3250,8 @@ dissect_icmpv6(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
sequence = tvb_get_ntohs(tvb, offset);
offset += 2;
- col_append_fstr(pinfo->cinfo, COL_INFO, " id=0x%04x, seq=%u", identifier, sequence);
+ col_append_fstr(pinfo->cinfo, COL_INFO, " id=0x%04x, seq=%u, hop limit=%u",
+ identifier, sequence, pinfo->ip_ttl);
if (pinfo->destport == 3544 && icmp6_type == ICMP6_ECHO_REQUEST) {
/* RFC 4380