Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / plugins / gryphon / packet-gryphon.c
index 25830dfc06c494f69b59347174902e793dd46788..6152c674f4eeaeecddbe8a273d3a2aa7b7af67a9 100644 (file)
@@ -210,8 +210,7 @@ dissect_gryphon_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
     guint8         flags;
 
     if (!is_msgresp_add) {
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-           col_set_str(pinfo->cinfo, COL_PROTOCOL, "Gryphon");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "Gryphon");
        if (check_col(pinfo->cinfo, COL_INFO))
            col_clear(pinfo->cinfo, COL_INFO);
     }