aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ajp13.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-ajp13.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-ajp13.c')
-rw-r--r--epan/dissectors/packet-ajp13.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ajp13.c b/epan/dissectors/packet-ajp13.c
index 7bbb616246..7cfa2bafa1 100644
--- a/epan/dissectors/packet-ajp13.c
+++ b/epan/dissectors/packet-ajp13.c
@@ -824,7 +824,7 @@ dissect_ajp13_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
}
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}
@@ -858,7 +858,7 @@ dissect_ajp13(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
get_ajp13_pdu_len, /* use first 4, calc data len */
dissect_ajp13_tcp_pdu, data); /* the naive dissector */
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}