ANSI IS-637 A: get rid of tvb_length() deprecated API

Change-Id: I40de03605c051024c604679a1e141afa841a77e9
Reviewed-on: https://code.wireshark.org/review/4287
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2014-09-25 17:48:26 +02:00
parent e520b2b800
commit 7c54eb23e5
1 changed files with 2 additions and 2 deletions

View File

@ -2281,7 +2281,7 @@ dissect_ansi_637_tele_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ans
guint32 curr_offset;
curr_offset = 0;
len = tvb_length(tvb);
len = tvb_reported_length(tvb);
while ((len - curr_offset) > 0)
{
@ -2535,7 +2535,7 @@ dissect_ansi_637_trans(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
curr_offset = 1;
len = tvb_length(tvb);
len = tvb_reported_length(tvb);
while ((len - curr_offset) > 0)
{