aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gmr1_rach.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-gmr1_rach.c')
-rw-r--r--epan/dissectors/packet-gmr1_rach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gmr1_rach.c b/epan/dissectors/packet-gmr1_rach.c
index 390d5013d0..6afaae680e 100644
--- a/epan/dissectors/packet-gmr1_rach.c
+++ b/epan/dissectors/packet-gmr1_rach.c
@@ -512,7 +512,7 @@ dissect_gmr1_rach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *rach_tree = NULL, *kls1_tree = NULL, *kls2_tree = NULL;
int len, is_moc;
- len = tvb_length(tvb);
+ len = tvb_captured_length(tvb);
rach_item = proto_tree_add_protocol_format(
tree, proto_gmr1_rach, tvb, 0, len,