Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / asn1 / acse / packet-acse-template.c
index 0cfee1fec2a4c6a283f4a38e5fed52851300ecd9..2634cffbb7e1ad278bba262b263da1fa0a7a5ce3 100644 (file)
@@ -222,8 +222,7 @@ dissect_acse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
                item = proto_tree_add_item(parent_tree, proto_acse, tvb, 0, -1, FALSE);
                tree = proto_item_add_subtree(item, ett_acse);
        }
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "ACSE");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "ACSE");
        if (check_col(pinfo->cinfo, COL_INFO))
                col_clear(pinfo->cinfo, COL_INFO);