Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / asn1 / pcap / packet-pcap-template.c
index 5c4ba42ad648702a9da9cfd812ab2bd72fcf3188..78b178c27b41e569aa956280ebb9452e51fc844c 100644 (file)
@@ -134,8 +134,7 @@ dissect_pcap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        proto_tree      *pcap_tree = NULL;
 
        /* make entry in the Protocol column on summary display */
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "PCAP");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "PCAP");
 
        /* create the pcap protocol tree */
        pcap_item = proto_tree_add_item(tree, proto_pcap, tvb, 0, -1, FALSE);