aboutsummaryrefslogtreecommitdiffstats
path: root/packet-brdwlk.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-01-23 07:01:52 +0000
committerGuy Harris <guy@alum.mit.edu>2003-01-23 07:01:52 +0000
commit3cbb32e541339af4a86c402521c6d9593ffab3bf (patch)
treeb81f83fcf7d494834bf660e1f296c0936a1776f6 /packet-brdwlk.c
parent498c94b10a401116c00113c1633e0584824048f7 (diff)
From Dinesh Dutt: updates to the Boardwalk and MDS header dissectors.
svn path=/trunk/; revision=6983
Diffstat (limited to 'packet-brdwlk.c')
-rw-r--r--packet-brdwlk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-brdwlk.c b/packet-brdwlk.c
index 59a327f52c..fd9d9ad405 100644
--- a/packet-brdwlk.c
+++ b/packet-brdwlk.c
@@ -2,7 +2,7 @@
* Routines for decoding MDS Port Analyzer Adapter (FC in Eth) Header
* Copyright 2001, Dinesh G Dutt <ddutt@andiamo.com>
*
- * $Id: packet-brdwlk.c,v 1.1 2003/01/14 01:17:44 guy Exp $
+ * $Id: packet-brdwlk.c,v 1.2 2003/01/23 07:01:52 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -194,6 +194,8 @@ dissect_brdwlk (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item (brdwlk_tree, hf_brdwlk_sof, tvb, offset, 1, 0);
proto_tree_add_item (brdwlk_tree, hf_brdwlk_vsan, tvb, offset, 2, 0);
+ pinfo->vsan = (tvb_get_ntohs (tvb, offset) & 0xFFF);
+
/* Locate EOF which is the last 4 bytes of the frame */
offset = tvb_reported_length (tvb) - 4;
proto_tree_add_item (brdwlk_tree, hf_brdwlk_pktcnt, tvb, offset,