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
This commit is contained in:
Guy Harris 2002-10-08 19:35:10 +00:00
parent 49c1aa93cf
commit c7d181b565
3 changed files with 7 additions and 2 deletions

View File

@ -1457,6 +1457,10 @@ Lutz Jaenicke <Lutz.Jaenicke [AT] aet.TU-Cottbus.DE> {
Fix an "htonl()" to use "g_htonl()"
}
Senthil Kumar Nagappan <sknagappan [AT] yahoo.com> {
Small SCSI dissector fix
}
Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to
give his permission to use his version of snprintf.c.

View File

@ -1542,6 +1542,7 @@ B<http://www.ethereal.com>.
Brad Hards <bhards[AT]bigpond.net.au>
cjs 2895 <cjs2895[AT]hotmail.com>
Lutz Jaenicke <Lutz.Jaenicke [AT] aet.TU-Cottbus.DE>
Senthil Kumar Nagappan <sknagappan [AT] yahoo.com>
Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to give his
permission to use his version of snprintf.c.

View File

@ -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,