summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--epan/dissectors/packet-gtpv2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c
index d31cf56879..c8bb132db5 100644
--- a/epan/dissectors/packet-gtpv2.c
+++ b/epan/dissectors/packet-gtpv2.c
@@ -1615,12 +1615,12 @@ dissect_gtpv2_bearer_ctx(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree
break;
case 94:
/* Charging Id */
- proto_tree_add_item(ie_tree, hf_gtpv2_charging_id, tvb, offset, length, FALSE);
+ proto_tree_add_item(ie_tree, hf_gtpv2_charging_id, tvb, offset, lengths, FALSE);
offset+=lengths;
break;
case 97:
/* Bearer flags */
- proto_tree_add_item(ie_tree, hf_gtpv2_bearer_flag, tvb, offset, length, FALSE);
+ proto_tree_add_item(ie_tree, hf_gtpv2_bearer_flag, tvb, offset, lengths, FALSE);
offset+=lengths;
break;
case 122: