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-imf.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-imf.c')
-rw-r--r-- | epan/dissectors/packet-imf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-imf.c b/epan/dissectors/packet-imf.c index 7f3b6a8c67..942ab19068 100644 --- a/epan/dissectors/packet-imf.c +++ b/epan/dissectors/packet-imf.c @@ -696,7 +696,7 @@ dissect_imf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) item = proto_tree_add_item(tree, proto_imf, tvb, 0, -1, ENC_NA); tree = proto_item_add_subtree(item, ett_imf); - max_length = tvb_length(tvb); + max_length = tvb_captured_length(tvb); /* first go through the tvb until we find a blank line and extract the content type if we find one */ |