aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorUli Heilmeier <uh@heilmeier.eu>2017-08-17 18:54:28 +0200
committerMichael Mann <mmann78@netscape.net>2017-08-17 17:03:53 +0000
commit1e659474c93d48e07e3908814bd423c228d38f2f (patch)
tree9cdbfafee323b72c88d1d2ef0de1c5b76571a1e9 /epan/dissectors
parentf04cb33494a4b3009390cfc01e9a7247c8a132ae (diff)
GTPv2: Fix length of EPS Bearer ID (EBI)
Field is only 1 not 2 bytes long. Bug: 13987 Change-Id: If22e19e917bd41907248a497b30883e89fc9ff4b Reviewed-on: https://code.wireshark.org/review/23109 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-gtpv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c
index e05ec23d12..88ffcdc67d 100644
--- a/epan/dissectors/packet-gtpv2.c
+++ b/epan/dissectors/packet-gtpv2.c
@@ -4858,7 +4858,7 @@ dissect_gtpv2_pkt_flow_id(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
/* Octet 5 Spare EBI */
proto_tree_add_bits_item(tree, hf_gtpv2_spare_bits, tvb, offset << 3, 4, ENC_BIG_ENDIAN);
- proto_tree_add_item(tree, hf_gtpv2_ebi, tvb, offset, 2, ENC_BIG_ENDIAN);
+ proto_tree_add_item(tree, hf_gtpv2_ebi, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
/* Packet Flow ID */