summaryrefslogtreecommitdiff
path: root/plugins/ethercat
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-10 21:40:21 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-09-10 21:40:21 +0000
commit5a8783f5b12e017967ce178bac3d1826630dea1a (patch)
tree72bd010e8f647ea2c4fbd0b8ace91952758f595e /plugins/ethercat
parentf764eabb6725bf82f4f45ae12faa1f54860cf090 (diff)
downloadwireshark-5a8783f5b12e017967ce178bac3d1826630dea1a.tar.gz
Initial commit to support yet another method of passing data between dissectors.
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
Diffstat (limited to 'plugins/ethercat')
-rw-r--r--plugins/ethercat/packet-ams.c2
-rw-r--r--plugins/ethercat/packet-esl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ethercat/packet-ams.c b/plugins/ethercat/packet-ams.c
index 5c5d82e8d9..91ccae452e 100644
--- a/plugins/ethercat/packet-ams.c
+++ b/plugins/ethercat/packet-ams.c
@@ -395,7 +395,7 @@ static void NetIdFormater(tvbuff_t *tvb, guint offset, char *szText, gint nMax)
/*ams*/
-static gint dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+static gint dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
proto_item *ti, *anItem;
proto_tree *ams_tree = NULL, *ams_adstree, *ams_statetree;
diff --git a/plugins/ethercat/packet-esl.c b/plugins/ethercat/packet-esl.c
index ef171f0783..3e55ad93c3 100644
--- a/plugins/ethercat/packet-esl.c
+++ b/plugins/ethercat/packet-esl.c
@@ -260,7 +260,7 @@ void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo)
}
static gboolean
-dissect_esl_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
+dissect_esl_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
static gboolean in_heur = FALSE;
gboolean result;