diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-16 06:21:33 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-05-16 06:21:33 +0000 |
commit | 9f45a0b0f5d45d8d84e0abd2854d34693d6f3b06 (patch) | |
tree | 0e341c3c817a573ed46ce6c07a32a4874ce55060 /packet-isl.c | |
parent | 0a2817cebacb5352ff348434db2571e218a21bdb (diff) |
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-isl.c')
-rw-r--r-- | packet-isl.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-isl.c b/packet-isl.c index 55c679e0e5..a466f346ad 100644 --- a/packet-isl.c +++ b/packet-isl.c @@ -1,7 +1,7 @@ /* packet-isl.c * Routines for Cisco ISL Ethernet header disassembly * - * $Id: packet-isl.c,v 1.10 2000/05/16 04:44:11 gram Exp $ + * $Id: packet-isl.c,v 1.11 2000/05/16 06:21:32 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -209,7 +209,8 @@ dissect_isl(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) switch (type) { case TYPE_ETHER: - dissect_eth(pd, offset+26, fd, tree); + next_tvb = tvb_new_subset(pi.compat_top_tvb, offset+26, -1, -1); + dissect_eth(next_tvb, &pi, tree); break; case TYPE_TR: @@ -230,7 +231,8 @@ dissect_isl(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) break; default: - dissect_data(pd, offset+26, fd, tree); + next_tvb = tvb_new_subset(pi.compat_top_tvb, offset+26, -1, -1); + dissect_data_tvb(next_tvb, &pi, tree); break; } } |