From 7e9eec22c84a8eba73b8e63e11f8096f57f99916 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sun, 17 Nov 2002 03:24:37 +0000 Subject: Some more small changes for HyperSCSI. svn path=/trunk/; revision=6651 --- packet-hyperscsi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packet-hyperscsi.c') diff --git a/packet-hyperscsi.c b/packet-hyperscsi.c index c9792ff0fb..6b4dba8fc8 100644 --- a/packet-hyperscsi.c +++ b/packet-hyperscsi.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for dissassembly of the Hyper SCSI protocol. * - * $Id: packet-hyperscsi.c,v 1.2 2002/11/16 08:33:53 sharpe Exp $ + * $Id: packet-hyperscsi.c,v 1.3 2002/11/17 03:24:37 sharpe Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -158,10 +158,11 @@ dissect_hyperscsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { ti = proto_tree_add_text(hs_tree, tvb, 3, -1, "HyperSCSI PDU"); - hs_hdr_tree = proto_item_add_subtree(ti, ett_hs_pdu); + hs_pdu_tree = proto_item_add_subtree(ti, ett_hs_pdu); - + proto_tree_add_uint(hs_pdu_tree, hf_hs_ver, tvb, 3, 1, hs_ver); + proto_tree_add_uint_format(hs_pdu_tree, hf_hs_cmd, tvb, 4, 1, hs_cmd, "HyperSCSI Command: %s", opcode_str); } } -- cgit v1.2.3