From ToddS via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5299 :
[obnox/wireshark/wip.git] / plugins / docsis / packet-bpkmrsp.c
index bd39bf14f031ee13cd7c06ccf1350dd364e46d91..c92e5f2bce846f1fa41983421fe7ae80e038a403 100644 (file)
@@ -75,11 +75,8 @@ dissect_bpkmrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
 
   code = tvb_get_guint8 (tvb, 0);
 
-  if (check_col (pinfo->cinfo, COL_INFO))
-    {
-      col_add_fstr (pinfo->cinfo, COL_INFO, "BPKM Response (%s)",
-                   val_to_str (code, code_field_vals, "%s"));
-    }
+  col_add_fstr (pinfo->cinfo, COL_INFO, "BPKM Response (%s)",
+           val_to_str (code, code_field_vals, "Unknown code %u"));
 
   if (tree)
     {
@@ -98,9 +95,6 @@ dissect_bpkmrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
   /* Code to Call subdissector */
   attrs_tvb = tvb_new_subset_remaining (tvb, 4);
   call_dissector (attrs_handle, attrs_tvb, pinfo, tree);
-
-
-
 }