summaryrefslogtreecommitdiff
path: root/asn1/gsm_map
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-01-17 12:46:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-01-17 12:46:00 +0000
commita255c08b66c95d38d62eebcde91914289cd006d2 (patch)
treeb2565a147de9c219fec10831a2e8fdd833745ea8 /asn1/gsm_map
parentd0ced3ccefd24ef651832f5749e8db6d41ee5ec3 (diff)
downloadwireshark-a255c08b66c95d38d62eebcde91914289cd006d2.tar.gz
Get rid of check_col();
svn path=/trunk/; revision=31546
Diffstat (limited to 'asn1/gsm_map')
-rw-r--r--asn1/gsm_map/gsm_map.cnf6
-rw-r--r--asn1/gsm_map/packet-gsm_map-template.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/asn1/gsm_map/gsm_map.cnf b/asn1/gsm_map/gsm_map.cnf
index d4876f9752..73480f62d5 100644
--- a/asn1/gsm_map/gsm_map.cnf
+++ b/asn1/gsm_map/gsm_map.cnf
@@ -156,10 +156,8 @@ MAP-DialoguePDU B "0.4.0.0.1.1.1.1" "map-DialogueAS"
#.FN_BODY GSMMAPOperationLocalvalue
%(DEFAULT_BODY)s
- if (check_col(actx->pinfo->cinfo, COL_INFO)){
- col_append_str(actx->pinfo->cinfo, COL_INFO, gsm_map_opr_code(opcode));
- col_append_fstr(actx->pinfo->cinfo, COL_INFO, " ");
- }
+ col_append_str(actx->pinfo->cinfo, COL_INFO, gsm_map_opr_code(opcode));
+ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " ");
#.FN_PARS GSMMAPLocalErrorcode
diff --git a/asn1/gsm_map/packet-gsm_map-template.c b/asn1/gsm_map/packet-gsm_map-template.c
index 5ca1375cb1..ec4c5db0e9 100644
--- a/asn1/gsm_map/packet-gsm_map-template.c
+++ b/asn1/gsm_map/packet-gsm_map-template.c
@@ -1748,10 +1748,8 @@ dissect_gsm_map_GSMMAPPDU(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset,
/* Get the length and add 2 */
gsm_map_pdu_size = tvb_get_guint8(tvb, offset+1)+2;
- if (check_col(actx->pinfo->cinfo, COL_INFO)){
- col_add_str(actx->pinfo->cinfo, COL_INFO, val_to_str(gsmmap_pdu_type, gsm_old_Component_vals, "Unknown GSM-MAP PDU (%u)"));
- col_append_fstr(actx->pinfo->cinfo, COL_INFO, " ");
- }
+ col_add_str(actx->pinfo->cinfo, COL_INFO, val_to_str(gsmmap_pdu_type, gsm_old_Component_vals, "Unknown GSM-MAP PDU (%u)"));
+ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " ");
offset = dissect_gsm_old_Component(FALSE, tvb, 0, actx, tree, hf_gsm_map_old_Component_PDU);
return offset;
/*