aboutsummaryrefslogtreecommitdiffstats
path: root/packet-atm.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-15 07:30:03 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-15 07:30:03 +0000
commitb0e06bd8d1be45b4dae1a45f3d5160473c6c894a (patch)
tree9cece5fe9b4df3388c0ba97de81b5bedf4b29b46 /packet-atm.c
parentf8c976489400ad3d77bd0d254fc6e7e227e203dd (diff)
Tvbuffify the ASN.1 code and the Kerberos, LDAP, and SNMP dissectors.
Clean up some problems that revealed. svn path=/trunk/; revision=3301
Diffstat (limited to 'packet-atm.c')
-rw-r--r--packet-atm.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/packet-atm.c b/packet-atm.c
index 4df151c7f2..1ba40260c7 100644
--- a/packet-atm.c
+++ b/packet-atm.c
@@ -1,7 +1,7 @@
/* packet-atm.c
* Routines for ATM packet disassembly
*
- * $Id: packet-atm.c,v 1.32 2001/01/21 20:16:01 guy Exp $
+ * $Id: packet-atm.c,v 1.33 2001/04/15 07:30:02 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -563,12 +563,6 @@ dissect_atm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_item *ti;
guint aal_type;
guint hl_type;
- const guint8 *pd;
- int offset;
-
- CHECK_DISPLAY_AS_DATA(proto_atm, tvb, pinfo, tree);
-
- pinfo->current_proto = "ATM";
aal_type = pinfo->pseudo_header->ngsniffer_atm.AppTrafType & ATT_AALTYPE;
hl_type = pinfo->pseudo_header->ngsniffer_atm.AppTrafType & ATT_HLTYPE;
@@ -741,8 +735,7 @@ dissect_atm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case ATT_HL_ILMI:
CHECK_DISPLAY_AS_DATA(proto_ilmi, tvb, pinfo, tree);
- tvb_compat(tvb, &pd, &offset);
- dissect_snmp_pdu(pd, offset, pinfo->fd, tree, "ILMI", proto_ilmi, ett_ilmi);
+ dissect_snmp_pdu(tvb, 0, pinfo, tree, "ILMI", proto_ilmi, ett_ilmi);
break;
default: