diff options
author | AndersBroman <anders.broman@ericsson.com> | 2017-09-05 14:00:06 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-09-05 13:38:52 +0000 |
commit | a6ad0a0191cd98f4c3f7c2a7bc655049109f01e1 (patch) | |
tree | 6ce86c226c976902c1ee8275c8b242e1ff2d4201 /epan/dissectors | |
parent | 0fb62a5fd0b7c1282c7d64c61b9d806f94cf3f07 (diff) |
[GTPv2] Correct packet_flow_id length.
Change-Id: I90b4a405ea8e55d4897d39c30b15289e09da89eb
Reviewed-on: https://code.wireshark.org/review/23395
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-gtpv2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c index 88ffcdc67d..8942f73683 100644 --- a/epan/dissectors/packet-gtpv2.c +++ b/epan/dissectors/packet-gtpv2.c @@ -4862,7 +4862,7 @@ dissect_gtpv2_pkt_flow_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre offset += 1; /* Packet Flow ID */ - proto_tree_add_item(tree, hf_gtpv2_packet_flow_id, tvb, offset, length, ENC_NA); + proto_tree_add_item(tree, hf_gtpv2_packet_flow_id, tvb, offset, length - 1, ENC_NA); } /* |