aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ieee17221.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2015-06-23 13:58:55 -0700
committerMartin Kaiser <wireshark@kaiser.cx>2015-06-23 21:04:41 +0000
commite53337accf76cddd4e0c3aaed3fb03d128c65f69 (patch)
tree22cb3f9fbdabe56323ca7e5fd5be9531c4b338ae /epan/dissectors/packet-ieee17221.c
parent99ab5c9d3838e56a046d5e15295905bbd691d721 (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-ieee17221.c')
-rw-r--r--epan/dissectors/packet-ieee17221.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ieee17221.c b/epan/dissectors/packet-ieee17221.c
index a551b1951b..c2c4ba80e3 100644
--- a/epan/dissectors/packet-ieee17221.c
+++ b/epan/dissectors/packet-ieee17221.c
@@ -3793,7 +3793,7 @@ dissect_17221_aem(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
default:
proto_tree_add_item(aem_tree, hf_aem_unknown_descriptor, tvb,
- 4, tvb_length(tvb) - 4, ENC_NA);
+ 4, tvb_captured_length(tvb) - 4, ENC_NA);
break;
}
}