From hannes:

'Fix for displaying the payload of the first chunk correctly.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8068

svn path=/trunk/; revision=46445
This commit is contained in:
Anders Broman 2012-12-07 16:57:14 +00:00
parent 65384d0091
commit 5505655199
1 changed files with 4 additions and 1 deletions

View File

@ -348,7 +348,6 @@ static void dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree
if (frag_msg == NULL)
{
/* first fragment */
offset = 0;
opcua_seqnum = 0;
}
else
@ -420,6 +419,10 @@ static void dissect_opcua_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree
/* parse the service if not chunked or last chunk */
if (msgtype == MSG_MESSAGE && bParseService)
{
if (bIsLastFragment != FALSE)
{
offset = 0;
}
iServiceId = parseService(transport_tree, next_tvb, &offset);
}