aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2015-06-21 06:48:58 -0400
committerAnders Broman <a.broman58@gmail.com>2015-06-21 22:38:59 +0000
commitebc8ec83fdaefd6253aeb8db587f2d3b413fc340 (patch)
tree54c523d543a8e2ea7866e13ba062e2524202fa23 /epan/dissectors/packet-wsp.c
parenta2e2c1f99783b5ad1048e9bba5b7a2834680b5fd (diff)
Remove deprecated tvb_length from a bunch of dissectors
Change-Id: I5c777806cb1403062a9d85261149d722df57b239 Reviewed-on: https://code.wireshark.org/review/9005 Reviewed-by: Evan Huus <eapache@gmail.com> Petri-Dish: Evan Huus <eapache@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r--epan/dissectors/packet-wsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c
index a1889c8269..179feccd7c 100644
--- a/epan/dissectors/packet-wsp.c
+++ b/epan/dissectors/packet-wsp.c
@@ -4062,7 +4062,7 @@ add_addresses(proto_tree *tree, tvbuff_t *tvb, int hf)
guint8 bearer_type;
guint8 address_flags_len;
int address_len;
- guint32 tvb_len = tvb_length(tvb);
+ guint32 tvb_len = tvb_reported_length(tvb);
guint32 offset = 0;
guint32 idx = 0; /* Address index */
guint32 address_record_len; /* Length of the entire address record */