aboutsummaryrefslogtreecommitdiffstats
path: root/packet-hyperscsi.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@ns.aus.com>2002-11-17 03:24:37 +0000
committerRichard Sharpe <sharpe@ns.aus.com>2002-11-17 03:24:37 +0000
commit7e9eec22c84a8eba73b8e63e11f8096f57f99916 (patch)
tree651946e6525cc065c5ebf1343dc8bc597a0daf0f /packet-hyperscsi.c
parentcb7215b486bd69e1c1fc91c9a43c3b7f8300a199 (diff)
Some more small changes for HyperSCSI.
svn path=/trunk/; revision=6651
Diffstat (limited to 'packet-hyperscsi.c')
-rw-r--r--packet-hyperscsi.c7
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);
}
}