aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vlan.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-05-16 06:21:33 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-05-16 06:21:33 +0000
commit9f45a0b0f5d45d8d84e0abd2854d34693d6f3b06 (patch)
tree0e341c3c817a573ed46ce6c07a32a4874ce55060 /packet-vlan.c
parent0a2817cebacb5352ff348434db2571e218a21bdb (diff)
downloadwireshark-9f45a0b0f5d45d8d84e0abd2854d34693d6f3b06.tar.gz
wireshark-9f45a0b0f5d45d8d84e0abd2854d34693d6f3b06.tar.bz2
wireshark-9f45a0b0f5d45d8d84e0abd2854d34693d6f3b06.zip
Convert Ethernet and Lucent/Ascend dissectors to use tvbuff.
Note in AUTHORS file that we use the exception module from kazlib. svn path=/trunk/; revision=1966
Diffstat (limited to 'packet-vlan.c')
-rw-r--r--packet-vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-vlan.c b/packet-vlan.c
index 67a4692f4b..1517e36b52 100644
--- a/packet-vlan.c
+++ b/packet-vlan.c
@@ -1,7 +1,7 @@
/* packet-vlan.c
* Routines for VLAN 802.1Q ethernet header disassembly
*
- * $Id: packet-vlan.c,v 1.13 2000/05/16 04:44:13 gram Exp $
+ * $Id: packet-vlan.c,v 1.14 2000/05/16 06:21:33 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -98,7 +98,7 @@ dissect_vlan(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
proto_tree_add_item(vlan_tree, hf_vlan_id, NullTVB, offset, 2, tci);
}
- next_tvb = tvb_new_subset(pi.compat_top_tvb, offset+4, -1, -1); /* XXX - like dissect_eth() */
+ next_tvb = tvb_new_subset(pi.compat_top_tvb, offset+4, -1, -1); /* XXX - should TRY() like dissect_eth() */
if ( encap_proto <= IEEE_802_3_MAX_LEN) {
if ( pd[offset+4] == 0xff && pd[offset+5] == 0xff ) {
dissect_ipx(pd,offset+4,fd,tree);