Don't guard col_set_str (COL_PROTOCOL) with col_check
[obnox/wireshark/wip.git] / epan / dissectors / packet-gtpv2.c
index fcc2fac5a2b01291893777e83374efc46cad3568..54fdf313d60cb80167278a7f77317a58ff54a2bd 100644 (file)
@@ -1936,8 +1936,7 @@ dissect_gtpv2(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
 
        /* Currently we get called from the GTP dissector no need to check the version */
-    if (check_col(pinfo->cinfo, COL_PROTOCOL))
-               col_set_str(pinfo->cinfo, COL_PROTOCOL, "GTPv2");
+    col_set_str(pinfo->cinfo, COL_PROTOCOL, "GTPv2");
     if (check_col(pinfo->cinfo, COL_INFO))
                col_clear(pinfo->cinfo, COL_INFO);