aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-bintrngreq.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-04-04 13:46:01 -0400
committerEvan Huus <eapache@gmail.com>2015-04-05 12:27:40 +0000
commit4c5b53f0449546708cd28c85d2a01da426e6998a (patch)
tree0683d206fd1cd55265c6886d591622f061f271c7 /plugins/docsis/packet-bintrngreq.c
parent32d0fc067367646b86c09a7e644ed5fc5817d246 (diff)
docsis: remove tvb_length calls
Change-Id: Ib35c6436876aa7f933dcec0a97a70ccbbc823905 Reviewed-on: https://code.wireshark.org/review/7913 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'plugins/docsis/packet-bintrngreq.c')
-rw-r--r--plugins/docsis/packet-bintrngreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/docsis/packet-bintrngreq.c b/plugins/docsis/packet-bintrngreq.c
index d3455cd014..dcb21e2335 100644
--- a/plugins/docsis/packet-bintrngreq.c
+++ b/plugins/docsis/packet-bintrngreq.c
@@ -57,7 +57,7 @@ dissect_bintrngreq (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
{
guint16 offset = 0;
bintrngreq_item = proto_tree_add_protocol_format (tree, proto_docsis_bintrngreq,
- tvb, offset, tvb_length_remaining (tvb, 0),
+ tvb, offset, tvb_captured_length(tvb),
"Bonded Initial Ranging Request");
bintrngreq_tree = proto_item_add_subtree (bintrngreq_item, ett_docsis_bintrngreq);
proto_tree_add_item (bintrngreq_tree, hf_docsis_bintrngreq_capflags,