diff options
Diffstat (limited to 'epan/dissectors/packet-fcip.c')
-rw-r--r-- | epan/dissectors/packet-fcip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcip.c b/epan/dissectors/packet-fcip.c index 642155ac2d..7ae83849b5 100644 --- a/epan/dissectors/packet-fcip.c +++ b/epan/dissectors/packet-fcip.c @@ -144,7 +144,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_captured_length_remaining (tvb, offset); gint frame_len; guint16 flen, flen1; fcip_eof_t eof, eofc; @@ -373,7 +373,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; |