diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-08-08 23:44:42 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-08-08 21:55:22 +0000 |
commit | fe74e319c0d27fb516577ce521719fba973e8113 (patch) | |
tree | 0f4601f2b11b488f176ee2967fcd6d6ebc2403f1 | |
parent | bbdd34a06b4ca9b4c8fea413ffb283f305881025 (diff) | |
download | wireshark-fe74e319c0d27fb516577ce521719fba973e8113.tar.gz |
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>
-rw-r--r-- | epan/dissectors/packet-bofl.c | 6 |
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 } } }; |