Small fix for incorrect column use when dissecting a BER file.
authorgal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Feb 2007 12:00:25 +0000 (12:00 +0000)
committergal <gal@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Feb 2007 12:00:25 +0000 (12:00 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20709 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-ber.c

index 7536b5ec212a2d73e7fe2fda41101a80f70546f4..d20c883b58013239c926bfdd3b82b4ab4e243967 100644 (file)
@@ -2572,13 +2572,13 @@ dissect_ber(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     (void) call_ber_syntax_callback(decode_as_syntax, tvb, 0, pinfo, tree);
 
-    if (check_col(pinfo->cinfo, COL_PROTOCOL)) {
+    if (check_col(pinfo->cinfo, COL_INFO)) {
 
       /* see if we have a better name */
       name = get_ber_oid_syntax(decode_as_syntax);
 
-      col_clear(pinfo->cinfo, COL_PROTOCOL);
-      col_append_fstr(pinfo->cinfo, COL_PROTOCOL, "%s", name ? name : decode_as_syntax);
+      col_clear(pinfo->cinfo, COL_INFO);
+      col_append_fstr(pinfo->cinfo, COL_INFO, "Decoded as %s", name ? name : decode_as_syntax);
     }
   }
 }