aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ascend.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-05-19 23:07:04 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-05-19 23:07:04 +0000
commitd7e6e0e384967a4d3ac1f57d6446f5a04e83b3c6 (patch)
tree349138fc92b8d0ed8fa5f5f4be28c0be0ed92b41 /packet-ascend.c
parent586e1b6fca8da9b031bb99b7010c3c77fbd85045 (diff)
Add wtap-int.h. Move definitions relevant to the internal workins of wiretap
to that file, leave public definitions in wtap.h. Rename "union pseudo_header" to "union wtap_pseudo_header". Make the wtap_pseudo_header pointer available in packet_info struct. svn path=/trunk/; revision=1989
Diffstat (limited to 'packet-ascend.c')
-rw-r--r--packet-ascend.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-ascend.c b/packet-ascend.c
index 11eeb80d21..2bd557aa4b 100644
--- a/packet-ascend.c
+++ b/packet-ascend.c
@@ -1,7 +1,7 @@
/* packet-ascend.c
* Routines for decoding Lucent/Ascend packet traces
*
- * $Id: packet-ascend.c,v 1.13 2000/05/18 09:05:38 guy Exp $
+ * $Id: packet-ascend.c,v 1.14 2000/05/19 23:06:08 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -53,13 +53,13 @@ static const value_string encaps_vals[] = {
{0, NULL } };
void
-dissect_ascend( tvbuff_t *tvb, const union pseudo_header *pseudo_header,
- packet_info *pinfo, proto_tree *tree)
+dissect_ascend(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- proto_tree *fh_tree;
- proto_item *ti;
- const guint8 *pd;
- int offset;
+ proto_tree *fh_tree;
+ proto_item *ti;
+ const guint8 *pd;
+ int offset;
+ union wtap_pseudo_header *pseudo_header = pinfo->pseudo_header;
pinfo->current_proto = "Lucent/Ascend";