aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2016-06-11 14:49:59 +0200
committerMichael Mann <mmann78@netscape.net>2016-06-12 01:25:59 +0000
commit4cab0516cc1108b2a9538702ea105bb6053a425f (patch)
tree943950cb3259cb5513f3a4a5e4a3a910de5882a1 /plugins
parent21007dc5466b6f9e3f4c00a23eed2fc23f6ac66f (diff)
Store the tree item to add to later (CID-1159152)
The tree item needed to test and append to isn't being stored, so the items are never amended with notes, resulting in dead code. Change-Id: Ib1a9b7994ad12a9a9013d1bc1e1e4c165f34f20f Reviewed-on: https://code.wireshark.org/review/15826 Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/wimax/msg_rng_rsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wimax/msg_rng_rsp.c b/plugins/wimax/msg_rng_rsp.c
index 8b44a8ad71..8842061f2d 100644
--- a/plugins/wimax/msg_rng_rsp.c
+++ b/plugins/wimax/msg_rng_rsp.c
@@ -359,7 +359,7 @@ static int dissect_mac_mgmt_msg_rng_rsp_decoder(tvbuff_t *tvb, packet_info *pinf
case RNG_RSP_SS_MAC_ADDRESS:
if (tlv_len == 6)
{
- add_tlv_subtree(&tlv_info, rng_rsp_tree, hf_rng_rsp_ss_mac_address, tvb, offset, ENC_NA);
+ ss_mac_address_item = add_tlv_subtree(&tlv_info, rng_rsp_tree, hf_rng_rsp_ss_mac_address, tvb, offset, ENC_NA);
} else {
add_tlv_subtree(&tlv_info, rng_rsp_tree, hf_rng_invalid_tlv, tvb, offset, ENC_NA);
}