diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-07-07 10:07:42 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-07-07 10:07:42 +0000 |
commit | d00c2baf5c74dc2e7c678578601795b3fc53e494 (patch) | |
tree | 6927997497f8cb74e31109c4687d5c2ad1b0c959 /asn1/cdt/packet-cdt-template.c | |
parent | 23b068e3078691eee81422008f81017c552da5d9 (diff) |
Remove some check_col() calls.
svn path=/trunk/; revision=28974
Diffstat (limited to 'asn1/cdt/packet-cdt-template.c')
-rw-r--r-- | asn1/cdt/packet-cdt-template.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/asn1/cdt/packet-cdt-template.c b/asn1/cdt/packet-cdt-template.c index 09a942dda3..04475d9906 100644 --- a/asn1/cdt/packet-cdt-template.c +++ b/asn1/cdt/packet-cdt-template.c @@ -85,10 +85,8 @@ void dissect_cdt (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree) tree = proto_item_add_subtree (cdt_item, ett_cdt_CompressedData); } - if (check_col (pinfo->cinfo, COL_PROTOCOL)) - col_set_str (pinfo->cinfo, COL_PROTOCOL, "CDT"); - if (check_col (pinfo->cinfo, COL_INFO)) - col_clear (pinfo->cinfo, COL_INFO); + col_set_str (pinfo->cinfo, COL_PROTOCOL, "CDT"); + col_clear (pinfo->cinfo, COL_INFO); dissect_CompressedData_PDU (tvb, pinfo, tree); } |