aboutsummaryrefslogtreecommitdiffstats
path: root/packet-lapb.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-05-31 03:58:56 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-05-31 03:58:56 +0000
commitaa553f63ecc7b9e310a05b743502c50f6dffb800 (patch)
tree51fbaf8816a6c74cd38581bc4c2eda79a91f9246 /packet-lapb.c
parentfa8b1d4e8b3882975514518232e429eaa5e41659 (diff)
Convert LAPD and V.120 dissector to use tvbuff. Convert xdlc dissector-helper,
too. svn path=/trunk/; revision=2030
Diffstat (limited to 'packet-lapb.c')
-rw-r--r--packet-lapb.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/packet-lapb.c b/packet-lapb.c
index 15cbbdfb07..225f785794 100644
--- a/packet-lapb.c
+++ b/packet-lapb.c
@@ -2,7 +2,7 @@
* Routines for lapb frame disassembly
* Olivier Abad <oabad@cybercable.fr>
*
- * $Id: packet-lapb.c,v 1.20 2000/05/28 17:04:10 oabad Exp $
+ * $Id: packet-lapb.c,v 1.21 2000/05/31 03:58:53 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -55,8 +55,6 @@ dissect_lapb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *lapb_tree, *ti;
int is_response;
guint8 byte0;
- const guint8 *this_pd;
- int this_offset;
tvbuff_t *next_tvb;
pinfo->current_proto = "LAPB";
@@ -105,8 +103,7 @@ dissect_lapb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
else
lapb_tree = NULL;
- tvb_compat(tvb, &this_pd, &this_offset);
- dissect_xdlc_control(this_pd, this_offset+1, pinfo->fd, lapb_tree, hf_lapb_control,
+ dissect_xdlc_control(tvb, 1, pinfo, lapb_tree, hf_lapb_control,
ett_lapb_control, is_response, FALSE);
/* not end of frame ==> X.25 */