diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-10-08 19:35:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-10-08 19:35:10 +0000 |
commit | c7d181b565e967ef600b0495f6b9ee2434d47179 (patch) | |
tree | 02aab06aa2c09a0cda2a6ab407b0c2267375c92b /packet-scsi.c | |
parent | 49c1aa93cf806c08f69c2bc1ec8285dd4aef5494 (diff) | |
download | wireshark-c7d181b565e967ef600b0495f6b9ee2434d47179.tar.gz wireshark-c7d181b565e967ef600b0495f6b9ee2434d47179.tar.bz2 wireshark-c7d181b565e967ef600b0495f6b9ee2434d47179.zip |
From Senthil Kumar Nagappan: fix a "proto_tree_add_uint()" call that was
supposed to be a "proto_tree_add_item()" call.
svn path=/trunk/; revision=6382
Diffstat (limited to 'packet-scsi.c')
-rw-r--r-- | packet-scsi.c | 4 |
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, |