aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2019-05-05 00:00:03 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2019-05-06 09:43:56 +0000
commitd352d2168cca057c6fb36f66fd72af6e6c34fa9d (patch)
treea98d2c856152699db80290dbba9a91f30a16e96e /plugins/epan
parentb078dbc6021df73988aaa6f932f101e73f291bed (diff)
wimax: fix copy&paste error.
Fix suggested by Mark Hermeling. Bug: 15750 Change-Id: I0d5e29e549acf797b234175f27aa6e49a5a45436 Reviewed-on: https://code.wireshark.org/review/33080 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'plugins/epan')
-rw-r--r--plugins/epan/wimax/msg_reg_rsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/epan/wimax/msg_reg_rsp.c b/plugins/epan/wimax/msg_reg_rsp.c
index 88ca6af0d0..23163b4954 100644
--- a/plugins/epan/wimax/msg_reg_rsp.c
+++ b/plugins/epan/wimax/msg_reg_rsp.c
@@ -161,7 +161,7 @@ static int dissect_mac_mgmt_msg_reg_rsp_decoder(tvbuff_t *tvb, packet_info *pinf
sub_tlv_type = get_tlv_type(&sub_tlv_info);
/* get the TLV length */
sub_tlv_len = get_tlv_length(&sub_tlv_info);
- if (tlv_type == -1 || sub_tlv_len > MAX_TLV_LEN || sub_tlv_len < 1)
+ if (sub_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, "REG-RSP TLV error");
proto_tree_add_item(reg_rsp_tree, hf_reg_invalid_tlv, tvb, offset, (tvb_len - offset), ENC_NA);