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-ff.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-ff.c')
-rw-r--r-- | epan/dissectors/packet-ff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ff.c b/epan/dissectors/packet-ff.c index 9825b1ce07..fd72394436 100644 --- a/epan/dissectors/packet-ff.c +++ b/epan/dissectors/packet-ff.c @@ -11053,7 +11053,7 @@ dissect_ff(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) /*offset += trailer_len;*/ } - return tvb_length(tvb); + return tvb_captured_length(tvb); } @@ -11098,7 +11098,7 @@ dissect_ff_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data) guint32 length; /* Make sure at least the header is there */ - if (tvb_length(tvb) < 12) + if (tvb_captured_length(tvb) < 12) return 0; length = tvb_get_ntohl(tvb, 8); |