diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-04-08 15:21:07 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-04-08 15:21:07 +0000 |
commit | a10b76a99b9d620ca3ca2769ca2e8d15ce50d35d (patch) | |
tree | 6f0eceb48ceaaee882149c02988b01e618d01997 /plugins/wimax/msg_reg_req.c | |
parent | 441c3f63b2d508910e1b18491899c3aa1b8b502a (diff) |
Get rid of check_col().
svn path=/trunk/; revision=32426
Diffstat (limited to 'plugins/wimax/msg_reg_req.c')
-rw-r--r-- | plugins/wimax/msg_reg_req.c | 10 |
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; } |