diff options
author | Evan Huus <eapache@gmail.com> | 2015-06-22 20:53:46 -0700 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2015-06-23 03:54:13 +0000 |
commit | 6fd7e5ba33dd9104803173086c1e79c42c2e3754 (patch) | |
tree | eb0e9e98d6dda61eeaa83457a606e772543a940d /epan/dissectors/packet-fc.c | |
parent | 46e5fd833eb3e38cab9a10e5d93ce538558196d0 (diff) |
Remove more deprecated tvb_length calls
Change-Id: I56260a82b19001ab2f87f4be34a9510f127f841f
Reviewed-on: https://code.wireshark.org/review/9050
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r-- | epan/dissectors/packet-fc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c index a4c3ef2307..0846dc50bc 100644 --- a/epan/dissectors/packet-fc.c +++ b/epan/dissectors/packet-fc.c @@ -1230,7 +1230,7 @@ dissect_fc (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data) return 0; dissect_fc_helper (tvb, pinfo, tree, FALSE, fc_data); - return tvb_length(tvb); + return tvb_captured_length(tvb); } static int @@ -1242,7 +1242,7 @@ dissect_fc_wtap (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data fc_data.sof_eof = 0; dissect_fc_helper (tvb, pinfo, tree, FALSE, &fc_data); - return tvb_length(tvb); + return tvb_captured_length(tvb); } static int @@ -1254,7 +1254,7 @@ dissect_fc_ifcp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data return 0; dissect_fc_helper (tvb, pinfo, tree, TRUE, fc_data); - return tvb_length(tvb); + return tvb_captured_length(tvb); } static void |