diff options
Diffstat (limited to 'epan/dissectors/packet-gsm_cbch.c')
-rw-r--r-- | epan/dissectors/packet-gsm_cbch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_cbch.c b/epan/dissectors/packet-gsm_cbch.c index f610ac7a0f..88b56f764a 100644 --- a/epan/dissectors/packet-gsm_cbch.c +++ b/epan/dissectors/packet-gsm_cbch.c @@ -135,7 +135,7 @@ dissect_schedule_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree proto_item *item = NULL, *schedule_item = NULL; proto_tree *sched_tree = NULL, *sched_subtree = NULL; - len = tvb_length(tvb); + len = tvb_captured_length(tvb); col_append_str(pinfo->cinfo, COL_INFO, " CBCH Schedule Message "); @@ -365,7 +365,7 @@ dissect_cbch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *cbch_tree = NULL; tvbuff_t *reass_tvb = NULL, *msg_tvb = NULL; - len = tvb_length(tvb); + len = tvb_captured_length(tvb); offset = 0; octet = tvb_get_guint8(tvb, offset); |