summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-01-10 16:13:31 +0100
committerAnders Broman <a.broman58@gmail.com>2015-01-12 05:26:15 +0000
commite974a6f571f1a3af9e2c801cdff907b13c5cb7ac (patch)
tree27c587844f72fddadfdcfeeafbc759e6b158f727 /plugins
parent706c625e2a160613ed89a30a7e2031fd00bbe3f1 (diff)
downloadwireshark-e974a6f571f1a3af9e2c801cdff907b13c5cb7ac.tar.gz
msg_rng_rsp (Wimax): fix Copy-paste error (CID 11158604)
Change-Id: I134d8178d741d741404963a89f60e1d1bfd9a2dd Reviewed-on: https://code.wireshark.org/review/6473 Reviewed-by: Anders Broman <a.broman58@gmail.com>
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 aabc3d15f7..84a1cab453 100644
--- a/plugins/wimax/msg_rng_rsp.c
+++ b/plugins/wimax/msg_rng_rsp.c
@@ -459,7 +459,7 @@ static void dissect_mac_mgmt_msg_rng_rsp_decoder(tvbuff_t *tvb, packet_info *pin
if(tlv_type == -1 || sub_tlv_len > MAX_TLV_LEN || sub_tlv_len < 1)
{ /* invalid tlv info */
col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "RNG-RSP TLV error");
- proto_tree_add_item(rng_rsp_tree, hf_rng_invalid_tlv, tvb, tlv_offset, (tvb_len - offset), ENC_NA);
+ proto_tree_add_item(rng_rsp_tree, hf_rng_invalid_tlv, tvb, tlv_offset, (tvb_len - tlv_offset), ENC_NA);
break;
}
/* get the offset to the sub TLV data */