diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-23 07:01:52 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-01-23 07:01:52 +0000 |
commit | 8a3d35163626b18771b44548df8cfb3bacbc70c0 (patch) | |
tree | b81f83fcf7d494834bf660e1f296c0936a1776f6 /packet-brdwlk.c | |
parent | c3ebe92dda4e471f79577f5396c3b2ec782373fd (diff) |
From Dinesh Dutt: updates to the Boardwalk and MDS header dissectors.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6983 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-brdwlk.c')
-rw-r--r-- | packet-brdwlk.c | 4 |
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, |