Fix a wrong copy/paste....
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 26 Nov 2011 16:32:20 +0000 (16:32 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 26 Nov 2011 16:32:20 +0000 (16:32 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40011 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-knet.c

index 5df7d966090daecd5a9877b6748455517fa1dffa..972d29d42c7f271781c0ec1341694dcc1948620f 100644 (file)
@@ -386,7 +386,7 @@ dissect_messageid(tvbuff_t *buffer, int *offset, proto_tree *tree, packet_info *
         break;
     }
 
-    proto_tree_add_item(tree, hf_knet_messageid, buffer, *offset, messageid_length, NULL,
+    proto_tree_add_bytes_format(tree, hf_knet_messageid, buffer, *offset, messageid_length, NULL,
     "Message ID: %s (%d)", val_to_str(messageid, packettypenames, "AppData or Malformed Message ID"), messageid);
 
     col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(messageid, packettypenames, "AppData "));