From 40b45dfb6e8117af0180d9b4137d60e799f08c20 Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Tue, 3 Nov 2015 23:02:10 +0100 Subject: [PATCH] packetbb; display Addressblock Tail as Tail when displaying the contents of a RFC5444 message containing an address block with a tail, the tail's value is incorrectly displayed as: Head: while it should say: Tail: This commit fixes that. Bug: 11673 Change-Id: Ibeb921cb712f98c9651970529e5240f871b85c0b Reviewed-on: https://code.wireshark.org/review/11538 Reviewed-by: Michael Mann --- epan/dissectors/packet-packetbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-packetbb.c b/epan/dissectors/packet-packetbb.c index 8b8b9bcea9..e2914b8641 100644 --- a/epan/dissectors/packet-packetbb.c +++ b/epan/dissectors/packet-packetbb.c @@ -455,7 +455,7 @@ static int dissect_pbb_addressblock(tvbuff_t *tvb, packet_info *pinfo, proto_tre } else if ((address_flags & ADDR_HASZEROTAIL) != 0) { /* add zero tail */ - proto_tree_add_item(addr_tree, hf_packetbb_addr_head, tvb, tail_index, 1, ENC_NA); + proto_tree_add_item(addr_tree, hf_packetbb_addr_tail, tvb, tail_index, 1, ENC_NA); } for (i=0; i