diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-22 17:19:23 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-06-23 00:19:41 +0000 |
commit | 958cef5d68f4e18fc648a0bbb30408eb206fb0ef (patch) | |
tree | f49f047e15a9bc811499efee611c99118ecd1e36 /epan/dissectors/packet-dsi.c | |
parent | 67ab8a059c489022aebe0e27d1f937c7b6abad06 (diff) | |
download | wireshark-958cef5d68f4e18fc648a0bbb30408eb206fb0ef.tar.gz wireshark-958cef5d68f4e18fc648a0bbb30408eb206fb0ef.tar.bz2 wireshark-958cef5d68f4e18fc648a0bbb30408eb206fb0ef.zip |
Remove more deprecated tvb_length
Change-Id: Iac23a6c804ad3720d37186559477909b2ff33eb2
Reviewed-on: https://code.wireshark.org/review/9042
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dsi.c')
-rw-r--r-- | epan/dissectors/packet-dsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dsi.c b/epan/dissectors/packet-dsi.c index 00ac454cec..f9313c36a6 100644 --- a/epan/dissectors/packet-dsi.c +++ b/epan/dissectors/packet-dsi.c @@ -321,7 +321,7 @@ dissect_dsi_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* da break; } - return tvb_length(tvb); + return tvb_captured_length(tvb); } static guint @@ -335,7 +335,7 @@ get_dsi_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U if ( dsi_flags > DSIFL_MAX || !dsi_command || dsi_command > DSIFUNC_MAX) { /* it's not a known dsi pdu start sequence */ - return tvb_length_remaining(tvb, offset); + return tvb_captured_length_remaining(tvb, offset); } /* @@ -356,7 +356,7 @@ dissect_dsi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) tcp_dissect_pdus(tvb, pinfo, tree, dsi_desegment, 12, get_dsi_pdu_len, dissect_dsi_packet, data); - return tvb_length(tvb); + return tvb_captured_length(tvb); } void |