aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2012-09-22 18:47:11 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2012-09-22 18:47:11 +0000
commit6b3b90bde79028005dbebf6c2dd1344721181a41 (patch)
treeb04820e65afd32b1b0479020b3cb035f55834590
parent6516edc022d987907561bf25b5bce65c3a82e041 (diff)
Fixup vlan_flags bug introduced with r45054
svn path=/trunk/; revision=45055
-rw-r--r--epan/dissectors/packet-lldp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c
index f12baaa210..c83ddcd7cd 100644
--- a/epan/dissectors/packet-lldp.c
+++ b/epan/dissectors/packet-lldp.c
@@ -1263,7 +1263,7 @@ dissect_ieee_802_1_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
guint16 tempShort;
guint32 tempOffset = offset;
- proto_tree *vlan_flags = NULL;
+ proto_tree *vlan_flags_tree = NULL;
proto_item *tf = NULL;
/* Get subtype */
@@ -1291,10 +1291,10 @@ dissect_ieee_802_1_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
if (tree)
{
tf = proto_tree_add_item(tree, hf_ieee_802_1_port_and_vlan_id_flag, tvb, tempOffset, 1, ENC_BIG_ENDIAN);
- vlan_flags = proto_item_add_subtree(tf, ett_port_vlan_flags);
+ vlan_flags_tree = proto_item_add_subtree(tf, ett_port_vlan_flags);
- proto_tree_add_item(tree, hf_ieee_802_1_port_and_vlan_id_flag_supported, tvb, tempOffset, 1, ENC_BIG_ENDIAN);
- proto_tree_add_item(tree, hf_ieee_802_1_port_and_vlan_id_flag_enabled, tvb, tempOffset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(vlan_flags_tree, hf_ieee_802_1_port_and_vlan_id_flag_supported, tvb, tempOffset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(vlan_flags_tree, hf_ieee_802_1_port_and_vlan_id_flag_enabled, tvb, tempOffset, 1, ENC_BIG_ENDIAN);
}
tempOffset++;