diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2014-10-16 19:06:31 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-10-17 14:51:40 +0000 |
commit | e5bbfa0f1516c74b4fc81651be94405bcb4be0b9 (patch) | |
tree | e91369d5f861d65cce4bc8de965135225497559d /plugins/opcua/opcua.c | |
parent | 0ceeddee17571fa99a4cb35625a8e3c2bdca97d2 (diff) |
Add argument 'packet_info *pinfo' to all dissecting functions
Change-Id: Ie02326e365ee3f620fcbe3f2e8e45dc5300d3418
Reviewed-on: https://code.wireshark.org/review/4728
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/opcua/opcua.c')
-rw-r--r-- | plugins/opcua/opcua.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/opcua/opcua.c b/plugins/opcua/opcua.c index a61623b031..2b7f5615a8 100644 --- a/plugins/opcua/opcua.c +++ b/plugins/opcua/opcua.c @@ -43,7 +43,7 @@ extern const int g_NumServices; /* forward reference */ void proto_reg_handoff_opcua(void); /* declare parse function pointer */ -typedef int (*FctParse)(proto_tree *tree, tvbuff_t *tvb, gint *pOffset); +typedef int (*FctParse)(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset); static int proto_opcua = -1; static dissector_handle_t opcua_handle; @@ -317,7 +317,7 @@ static int dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree * offset = 0; /* call the transport message dissector */ - iServiceId = (*pfctParse)(transport_tree, tvb, &offset); + iServiceId = (*pfctParse)(transport_tree, tvb, pinfo, &offset); /* parse the service if not chunked or last chunk */ if (msgtype == MSG_MESSAGE && bParseService) @@ -326,7 +326,7 @@ static int dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree * { offset = 0; } - iServiceId = parseService(transport_tree, next_tvb, &offset); + iServiceId = parseService(transport_tree, next_tvb, pinfo, &offset); } /* display the service type in addition to the message type */ |