diff options
author | AndersBroman <a.broman@bredband.net> | 2015-04-14 08:55:47 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-04-14 06:58:40 +0000 |
commit | 870d223b69c962902778baeabbe952f560a27426 (patch) | |
tree | c2181fcceb1ec3f42acc3fd0c35e837a0be861fa /epan/dissectors/packet-ansi_683.c | |
parent | 62c0e032e062c6e3d932d311bcca9f281ade27f4 (diff) | |
download | wireshark-870d223b69c962902778baeabbe952f560a27426.tar.gz |
Change deprecated API tvb_length -> tvb_reported_length
Change-Id: I14577dccaed5aa5ed85e94b6810a94b4c8b2e437
Reviewed-on: https://code.wireshark.org/review/8059
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ansi_683.c')
-rw-r--r-- | epan/dissectors/packet-ansi_683.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ansi_683.c b/epan/dissectors/packet-ansi_683.c index 0cf7d2718c..fdb9b2cd9e 100644 --- a/epan/dissectors/packet-ansi_683.c +++ b/epan/dissectors/packet-ansi_683.c @@ -3286,7 +3286,7 @@ dissect_ansi_683_for_message(tvbuff_t *tvb, packet_info* pinfo, proto_tree *ansi if (ansi_683_for_msg_fcn[idx] != NULL) { - (*ansi_683_for_msg_fcn[idx])(tvb, pinfo, ansi_683_tree, tvb_length(tvb) - 1, 1); + (*ansi_683_for_msg_fcn[idx])(tvb, pinfo, ansi_683_tree, tvb_reported_length(tvb) - 1, 1); } } @@ -3314,7 +3314,7 @@ dissect_ansi_683_rev_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ansi proto_tree_add_uint(ansi_683_tree, hf_ansi_683_rev_msg_type, tvb, 0, 1, msg_type); - (*ansi_683_rev_msg_fcn[idx])(tvb, pinfo, ansi_683_tree, tvb_length(tvb) - 1, 1); + (*ansi_683_rev_msg_fcn[idx])(tvb, pinfo, ansi_683_tree, tvb_reported_length(tvb) - 1, 1); } static void |