diff options
author | sharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-11-17 03:24:37 +0000 |
---|---|---|
committer | sharpe <sharpe@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-11-17 03:24:37 +0000 |
commit | b352e2a82ed0248a9687d98f892f6f4db6c7262f (patch) | |
tree | 651946e6525cc065c5ebf1343dc8bc597a0daf0f /packet-hyperscsi.c | |
parent | 16e26b9862fdd4860bc09239496a07292d43527a (diff) |
Some more small changes for HyperSCSI.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6651 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-hyperscsi.c')
-rw-r--r-- | packet-hyperscsi.c | 7 |
1 files changed, 4 insertions, 3 deletions
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 <gerald@ethereal.com> @@ -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); } } |