aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-08-08 23:44:42 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2014-08-08 21:55:22 +0000
commitfe74e319c0d27fb516577ce521719fba973e8113 (patch)
tree0f4601f2b11b488f176ee2967fcd6d6ebc2403f1 /epan/dissectors
parentbbdd34a06b4ca9b4c8fea413ffb283f305881025 (diff)
BOFL: fix assertion introduced in g5db1352
Bug: 10356 Change-Id: Ie3846d6462f212c7fd5162e65e9f83c1524aee36 Reviewed-on: https://code.wireshark.org/review/3515 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-bofl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-bofl.c b/epan/dissectors/packet-bofl.c
index 1ce85c09f6..39908eaca4 100644
--- a/epan/dissectors/packet-bofl.c
+++ b/epan/dissectors/packet-bofl.c
@@ -87,7 +87,7 @@ dissect_bofl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_uint(bofl_tree, hf_bofl_sequence, tvb, 4, 4, sequence);
- len = tvb_captured_length_remaining(tvb, 8);
+ len = tvb_reported_length_remaining(tvb, 8);
if (len > 0)
proto_tree_add_item(bofl_tree, hf_bofl_padding, tvb, 8, -1, ENC_NA);
}
@@ -109,8 +109,8 @@ proto_register_bofl(void)
},
{ &hf_bofl_padding,
{ "Padding", "bofl.padding",
- FT_UINT32, BASE_DEC, NULL, 0,
- "incremental counter", HFILL }
+ FT_BYTES, BASE_NONE, NULL, 0,
+ NULL, HFILL }
}
};