diff options
Diffstat (limited to 'packet-vlan.c')
-rw-r--r-- | packet-vlan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-vlan.c b/packet-vlan.c index 2f47436b5b..9965e1b9d3 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.18 2000/08/07 03:21:19 guy Exp $ + * $Id: packet-vlan.c,v 1.19 2000/08/13 14:09:06 deniel Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -74,6 +74,8 @@ dissect_vlan(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { guint16 tci,encap_proto; tvbuff_t *next_tvb; + OLD_CHECK_DISPLAY_AS_DATA(proto_vlan, pd, offset, fd, tree); + if (!BYTES_ARE_IN_FRAME(offset, 2*sizeof(guint16))) { return; } |