aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_reg_req.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wimax/msg_reg_req.c')
-rw-r--r--plugins/wimax/msg_reg_req.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/wimax/msg_reg_req.c b/plugins/wimax/msg_reg_req.c
index caadf2f258..a5d43d5495 100644
--- a/plugins/wimax/msg_reg_req.c
+++ b/plugins/wimax/msg_reg_req.c
@@ -369,10 +369,7 @@ void dissect_extended_tlv(proto_tree *reg_req_tree, gint tlv_type, tvbuff_t *tvb
length = get_tlv_length(&tlv_info);
if(tlv_type == -1 || length > MAX_TLV_LEN || length < 1)
{ /* invalid tlv info */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "REG-REQ TLV error");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "REG-REQ TLV error");
proto_tree_add_item(reg_req_tree, hf_reg_invalid_tlv, tvb, offset, (tvb_len - offset), FALSE);
break;
}
@@ -557,10 +554,7 @@ void dissect_mac_mgmt_msg_reg_req_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
tlv_len = get_tlv_length(&tlv_info);
if(tlv_type == -1 || tlv_len > MAX_TLV_LEN || tlv_len < 1)
{ /* invalid tlv info */
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "REG-REQ TLV error");
- }
+ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "REG-REQ TLV error");
proto_tree_add_item(reg_req_tree, hf_reg_invalid_tlv, tvb, offset, (tvb_len - offset), FALSE);
break;
}