aboutsummaryrefslogtreecommitdiffstats
path: root/packet-scsi.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-08 19:35:10 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-08 19:35:10 +0000
commitfd11527a439b7f4b3dd3fb717858928c5d539bf8 (patch)
tree02aab06aa2c09a0cda2a6ab407b0c2267375c92b /packet-scsi.c
parent8f123a08a7f792dc428c7630cfedc5b942bee64c (diff)
From Senthil Kumar Nagappan: fix a "proto_tree_add_uint()" call that was
supposed to be a "proto_tree_add_item()" call. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6382 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-scsi.c')
-rw-r--r--packet-scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-scsi.c b/packet-scsi.c
index a9b016d9e0..f5e720f586 100644
--- a/packet-scsi.c
+++ b/packet-scsi.c
@@ -2,7 +2,7 @@
* Routines for decoding SCSI CDBs and responses
* Author: Dinesh G Dutt (ddutt@cisco.com)
*
- * $Id: packet-scsi.c,v 1.20 2002/08/28 21:00:30 jmayer Exp $
+ * $Id: packet-scsi.c,v 1.21 2002/10/08 19:35:08 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1537,7 +1537,7 @@ dissect_scsi_inquiry (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
1, 0);
}
- proto_tree_add_uint (tree, hf_scsi_alloclen, tvb, offset+3, 1, 0);
+ proto_tree_add_item (tree, hf_scsi_alloclen, tvb, offset+3, 1, 0);
flags = tvb_get_guint8 (tvb, offset+4);
proto_tree_add_uint_format (tree, hf_scsi_control, tvb, offset+4, 1,
flags,