aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fcip.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-22 20:53:46 -0700
committerEvan Huus <eapache@gmail.com>2015-06-23 03:54:13 +0000
commit6fd7e5ba33dd9104803173086c1e79c42c2e3754 (patch)
treeeb0e9e98d6dda61eeaa83457a606e772543a940d /epan/dissectors/packet-fcip.c
parent46e5fd833eb3e38cab9a10e5d93ce538558196d0 (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-fcip.c')
-rw-r--r--epan/dissectors/packet-fcip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcip.c b/epan/dissectors/packet-fcip.c
index b0c90bb0c8..53b885931e 100644
--- a/epan/dissectors/packet-fcip.c
+++ b/epan/dissectors/packet-fcip.c
@@ -142,7 +142,7 @@ static dissector_handle_t fc_handle;
static guint
get_next_fcip_header_offset (tvbuff_t *tvb, packet_info *pinfo, gint offset)
{
- gint bytes_remaining = tvb_length_remaining (tvb, offset);
+ gint bytes_remaining = tvb_reported_length_remaining (tvb, offset);
gint frame_len;
guint16 flen, flen1;
fcip_eof_t eof, eofc;
@@ -369,7 +369,7 @@ dissect_fcip (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
gint offset = 0,
start = 0,
frame_len = 0;
- gint bytes_remaining = tvb_length (tvb);
+ gint bytes_remaining = tvb_captured_length (tvb);
guint8 pflags, sof = 0, eof = 0;
/* Set up structures needed to add the protocol subtree and manage it */
proto_item *ti;