diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-09-22 18:47:11 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-09-22 18:47:11 +0000 |
commit | 6b3b90bde79028005dbebf6c2dd1344721181a41 (patch) | |
tree | b04820e65afd32b1b0479020b3cb035f55834590 /epan | |
parent | 6516edc022d987907561bf25b5bce65c3a82e041 (diff) |
Fixup vlan_flags bug introduced with r45054
svn path=/trunk/; revision=45055
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-lldp.c | 8 |
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++; |