diff options
author | AndersBroman <anders.broman@ericsson.com> | 2015-04-09 14:01:25 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-04-09 12:03:23 +0000 |
commit | 5fa267e870364902864d67f9ea297e52e6029cd7 (patch) | |
tree | de58acbc4944ef56c9797dcf6039e3e313b213d4 /epan/dissectors/packet-cdt.c | |
parent | db92f393d8b56a61c73693ac879441454f11c566 (diff) | |
download | wireshark-5fa267e870364902864d67f9ea297e52e6029cd7.tar.gz |
REplace deprecated API tvb_length -> tvb_reported_length
Change-Id: I6090055a9c31f6787626b810de655d1cc71b99de
Reviewed-on: https://code.wireshark.org/review/8002
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-cdt.c')
-rw-r--r-- | epan/dissectors/packet-cdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cdt.c b/epan/dissectors/packet-cdt.c index 09873bea8e..c5b6bffa7b 100644 --- a/epan/dissectors/packet-cdt.c +++ b/epan/dissectors/packet-cdt.c @@ -258,7 +258,7 @@ dissect_cdt_CompressedContent(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int return offset; } - next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_length (compr_tvb)); + next_tvb = tvb_child_uncompress (tvb, compr_tvb, 0, tvb_reported_length (compr_tvb)); if (next_tvb == NULL) { proto_tree_add_expert(top_tree, actx->pinfo, &ei_cdt_unable_uncompress_content, |