diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-23 11:13:21 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-06-23 18:13:41 +0000 |
commit | 9723c7a2f877f635f308c1534935ec4a90c661f8 (patch) | |
tree | 449c3aff0c2f004569356ee987a9906805d2f9b7 /epan/dissectors/packet-yami.c | |
parent | bc1472502f871d5d7d178f5588f9b5ed7a226180 (diff) |
Remove more deprecated tvb_length calls
Change-Id: Ie40a195db622ebfb096fa5088c5467a1385e69bf
Reviewed-on: https://code.wireshark.org/review/9062
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-yami.c')
-rw-r--r-- | epan/dissectors/packet-yami.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-yami.c b/epan/dissectors/packet-yami.c index 5f2491189f..a1e4bc91e4 100644 --- a/epan/dissectors/packet-yami.c +++ b/epan/dissectors/packet-yami.c @@ -522,7 +522,7 @@ dissect_yami_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data } } - return tvb_length(tvb); + return tvb_captured_length(tvb); } #define FRAME_HEADER_LEN 16 @@ -540,7 +540,7 @@ static int dissect_yami(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) { tcp_dissect_pdus(tvb, pinfo, tree, yami_desegment, FRAME_HEADER_LEN, get_yami_message_len, dissect_yami_pdu, data); - return tvb_length(tvb); + return tvb_captured_length(tvb); } void |