aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dbus.c
diff options
context:
space:
mode:
authorAndersBroman <a.broman@bredband.net>2015-04-16 15:58:53 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-16 14:01:45 +0000
commit338f3a5eb1618507035fdabaece8f54d6be54379 (patch)
treeb7c57c1ac38f85e912567b5b0a6a8623e441300f /epan/dissectors/packet-dbus.c
parent4171f5590b0df5506c98e559100e21300edb33d0 (diff)
Remove deprecated tvb_lengt APIs
Change-Id: Ic3c364384dcc1d87089d646665f5900081de13df Reviewed-on: https://code.wireshark.org/review/8089 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dbus.c')
-rw-r--r--epan/dissectors/packet-dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dbus.c b/epan/dissectors/packet-dbus.c
index 756c95e75e..977876d593 100644
--- a/epan/dissectors/packet-dbus.c
+++ b/epan/dissectors/packet-dbus.c
@@ -622,7 +622,7 @@ static int
dissect_dbus_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
{
tcp_dissect_pdus(tvb, pinfo, tree, dbus_desegment, DBUS_HEADER_LEN, get_dbus_message_len, dissect_dbus_pdu, data);
- return tvb_length(tvb);
+ return tvb_reported_length(tvb);
}
void