diff options
author | oabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-24 17:17:25 +0000 |
---|---|---|
committer | oabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-24 17:17:25 +0000 |
commit | cc88aa407dd0aeb6362f4d09f42f4cd69320721d (patch) | |
tree | b0eb93db0d1387fa2ef4e8440ecb01ead027b70d /packet-mdshdr.c | |
parent | c4cb4b867f92c22260da61ed70922e2877eb09cd (diff) |
hf_mdshdr_span is a FT_UINT8 field, so we must use :
proto_tree_add_uint_hidden() instead of proto_tree_add_int_hidden()
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6997 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mdshdr.c')
-rw-r--r-- | packet-mdshdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-mdshdr.c b/packet-mdshdr.c index f11df5621a..51435f253a 100644 --- a/packet-mdshdr.c +++ b/packet-mdshdr.c @@ -2,7 +2,7 @@ * Routines for dissection of Cisco MDS Switch Internal Header * Copyright 2001, Dinesh G Dutt <ddutt@andiamo.com> * - * $Id: packet-mdshdr.c,v 1.2 2003/01/23 07:01:52 guy Exp $ + * $Id: packet-mdshdr.c,v 1.3 2003/01/24 17:17:25 oabad Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -231,7 +231,7 @@ dissect_mdshdr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) MDSHDR_SIZE_INT16, 0); proto_tree_add_item (mdshdr_tree_hdr, hf_mdshdr_vsan, tvb, MDSHDR_VSAN_OFFSET, MDSHDR_SIZE_INT16, 0); - proto_tree_add_int_hidden (mdshdr_tree_hdr, hf_mdshdr_span, + proto_tree_add_uint_hidden(mdshdr_tree_hdr, hf_mdshdr_span, tvb, MDSHDR_VSAN_OFFSET, MDSHDR_SIZE_BYTE, span_id); |