aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ancp.c
diff options
context:
space:
mode:
authorAndersBroman <a.broman@bredband.net>2015-04-14 08:55:47 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-14 06:58:40 +0000
commit870d223b69c962902778baeabbe952f560a27426 (patch)
treec2181fcceb1ec3f42acc3fd0c35e837a0be861fa /epan/dissectors/packet-ancp.c
parent62c0e032e062c6e3d932d311bcca9f281ade27f4 (diff)
Change deprecated API tvb_length -> tvb_reported_length
Change-Id: I14577dccaed5aa5ed85e94b6810a94b4c8b2e437 Reviewed-on: https://code.wireshark.org/review/8059 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-ancp.c')
-rw-r--r--epan/dissectors/packet-ancp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ancp.c b/epan/dissectors/packet-ancp.c
index f741869b19..c115d7373b 100644
--- a/epan/dissectors/packet-ancp.c
+++ b/epan/dissectors/packet-ancp.c
@@ -632,7 +632,7 @@ dissect_ancp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
}
tap_queue_packet(ancp_tap, pinfo, ancp_info);
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}
static guint
@@ -647,7 +647,7 @@ dissect_ancp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
tcp_dissect_pdus(tvb, pinfo, tree, TRUE, ANCP_MIN_HDR,
get_ancp_msg_len, dissect_ancp_message, data);
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}
void