From 4b5a9a26636fd463addfa406521033a29d27d360 Mon Sep 17 00:00:00 2001 From: Chris Maynard Date: Wed, 19 Sep 2012 19:12:25 +0000 Subject: 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 --- epan/dissectors/packet-icmpv6.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'epan') 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 -- cgit v1.2.3