aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x25.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-16 07:35:43 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-16 07:35:43 +0000
commitee1b884ee9b7baa22ebf1a7e1363994124a0ff24 (patch)
tree1eaeec182ddb59258b1ee66e3a901ada60ee9f79 /packet-x25.c
parentf19c2e2defe72f740356a3df48a64f6e24918130 (diff)
Tvbuffify the STP dissector, have it register itself and have the LLC
dissector call it through a handle, and make it static. Give "dissect_data()" an "offset" argument, so dissectors can use it to dissect part of the packet without having to cook up a new tvbuff. Go back to using "dissect_data()" to dissect the data in an IPP request. svn path=/trunk/; revision=2651
Diffstat (limited to 'packet-x25.c')
-rw-r--r--packet-x25.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-x25.c b/packet-x25.c
index d1e78263d8..5cfee0201a 100644
--- a/packet-x25.c
+++ b/packet-x25.c
@@ -2,7 +2,7 @@
* Routines for x25 packet disassembly
* Olivier Abad <oabad@cybercable.fr>
*
- * $Id: packet-x25.c,v 1.35 2000/08/13 14:09:13 deniel Exp $
+ * $Id: packet-x25.c,v 1.36 2000/11/16 07:35:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1933,7 +1933,7 @@ dissect_x25(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
dissect_ip(next_pd, next_offset, pinfo->fd, tree);
}
else {
- dissect_data(next_tvb, pinfo, tree);
+ dissect_data(next_tvb, 0, pinfo, tree);
}
}
}