aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2011-03-22 09:47:34 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2011-03-22 09:47:34 +0000
commit3037db890443d8b55ebf43ca7f04f74fff5ec9d9 (patch)
treef732ce1bb97c1e696423efb8ace7654c52892e59 /plugins
parentff04f8594028db33708e7ea07af36f826f3a256b (diff)
Coverity 1168
Create the items for 33_ARS under the subtree we create for this type and not under the parent node in the tree. svn path=/trunk/; revision=36242
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wimax/msg_dcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/wimax/msg_dcd.c b/plugins/wimax/msg_dcd.c
index 83cde282ef..6fcbea964d 100644
--- a/plugins/wimax/msg_dcd.c
+++ b/plugins/wimax/msg_dcd.c
@@ -652,10 +652,10 @@ void dissect_mac_mgmt_msg_dcd_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t
case DCD_TLV_T_33_ASR:
{
tlv_tree = add_protocol_subtree(&tlv_info, ett_mac_mgmt_msg_dcd_decoder, dcd_tree, proto_mac_mgmt_msg_dcd_decoder, tvb, offset, tlv_len, "ASR Slot Length (M) and Switching Period (L) (%u byte(s))", tlv_len);
- proto_tree_add_item(dcd_tree, hf_dcd_tlv_t_33_asr, tvb, offset, 1, FALSE);
- tlv_item = proto_tree_add_item(dcd_tree, hf_dcd_tlv_t_33_asr_m, tvb, offset, 1, FALSE);
+ proto_tree_add_item(tlv_tree, hf_dcd_tlv_t_33_asr, tvb, offset, 1, FALSE);
+ tlv_item = proto_tree_add_item(tvl_tree, hf_dcd_tlv_t_33_asr_m, tvb, offset, 1, FALSE);
proto_item_append_text(tlv_item, " frames");
- tlv_item = proto_tree_add_item(dcd_tree, hf_dcd_tlv_t_33_asr_l, tvb, offset, 1, FALSE);
+ tlv_item = proto_tree_add_item(tlv_tree, hf_dcd_tlv_t_33_asr_l, tvb, offset, 1, FALSE);
proto_item_append_text(tlv_item, " frames");
break;
}