PFCP: Fix offset after decoding Message Length

Change-Id: I163b4b1dfcad68e392fbddc3327ad081ca304a85
Reviewed-on: https://code.wireshark.org/review/24078
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Marius Paliga 2017-10-26 14:57:39 +02:00 committed by Michael Mann
parent 91ae90ba82
commit 52332e3f9a
1 changed files with 1 additions and 0 deletions

View File

@ -3426,6 +3426,7 @@ dissect_pfcp(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
/* Octet 3 - 4 Message Length */
proto_tree_add_item_ret_uint(sub_tree, hf_pfcp_msg_length, tvb, offset, 2, ENC_BIG_ENDIAN, &length);
offset += 2;
if ((pfcp_flags & 0x1) == 1) {
/* If S flag is set to 1, then SEID shall be placed into octets 5-12*/