diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2015-06-23 13:58:55 -0700 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2015-06-23 21:04:41 +0000 |
commit | e53337accf76cddd4e0c3aaed3fb03d128c65f69 (patch) | |
tree | 22cb3f9fbdabe56323ca7e5fd5be9531c4b338ae /epan/dissectors/packet-ifcp.c | |
parent | 99ab5c9d3838e56a046d5e15295905bbd691d721 (diff) |
replace another bunch of deprecated tvb_length calls
Change-Id: Ib7c50b55942220d48de025642154b4bf3f39c8a2
Reviewed-on: https://code.wireshark.org/review/9074
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-ifcp.c')
-rw-r--r-- | epan/dissectors/packet-ifcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ifcp.c b/epan/dissectors/packet-ifcp.c index f1e42db957..086d0b0f74 100644 --- a/epan/dissectors/packet-ifcp.c +++ b/epan/dissectors/packet-ifcp.c @@ -155,7 +155,7 @@ ifcp_header_test(tvbuff_t *tvb, int offset) guint16 flen, flen1; /* we can only do this test if we have 16 bytes or more */ - if(tvb_length_remaining(tvb, offset)<iFCP_MIN_HEADER_LEN){ + if(tvb_captured_length_remaining(tvb, offset)<iFCP_MIN_HEADER_LEN){ return FALSE; } @@ -286,7 +286,7 @@ dissect_ifcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, voi fc_data_t fc_data; /* verify we have a full header (do we need to do this? */ - if(tvb_length(tvb)<iFCP_ENCAP_HEADER_LEN){ + if(tvb_captured_length(tvb)<iFCP_ENCAP_HEADER_LEN){ return 0; } |