aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bofl.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-bofl.c')
-rw-r--r--epan/dissectors/packet-bofl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bofl.c b/epan/dissectors/packet-bofl.c
index 9eb9308e6d..b905d64de1 100644
--- a/epan/dissectors/packet-bofl.c
+++ b/epan/dissectors/packet-bofl.c
@@ -89,7 +89,7 @@ dissect_bofl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (tree) {
proto_tree_add_uint(bofl_tree, hf_bofl_sequence, tvb, 4, 4, sequence);
- len = tvb_length_remaining(tvb, 8);
+ len = tvb_captured_length_remaining(tvb, 8);
if (len > 0)
proto_tree_add_text(bofl_tree, tvb, 8, len,
"Padding (%d byte)", len);