Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-quake2.c
index 4849fd647c43dcddd4a13bbbf89cde09f24924d4..943a01d338b982ebdc41d27033c184c018ba344b 100644 (file)
@@ -712,8 +712,7 @@ dissect_quake2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
        direction = (pinfo->destport == gbl_quake2ServerPort) ?
                        DIR_C2S : DIR_S2C;
 
-       if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "QUAKE2");
+       col_set_str(pinfo->cinfo, COL_PROTOCOL, "QUAKE2");
        if (check_col(pinfo->cinfo, COL_INFO))
                col_add_str(pinfo->cinfo, COL_INFO, val_to_str(direction,
                        names_direction, "%u"));