diff options
author | Dario Lombardo <lomato@gmail.com> | 2014-06-17 17:45:00 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-06-18 14:14:58 +0000 |
commit | 246fe2ca4c67d8c98caa84e2f57694f6322e2f96 (patch) | |
tree | 5f8651517a3423cce11c50e18371d8a73c3c7665 /epan/dissectors/packet-wsp.c | |
parent | 971ffd683ea23362bd8009567ff7860371e6e2cc (diff) |
Fixup: tvb_* -> tvb_captured
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f
Reviewed-on: https://code.wireshark.org/review/2377
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r-- | epan/dissectors/packet-wsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c index 2c2fef9107..282536e706 100644 --- a/epan/dissectors/packet-wsp.c +++ b/epan/dissectors/packet-wsp.c @@ -1741,7 +1741,7 @@ static void add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo) { guint8 hdr_id, val_id, codepage = 1; - gint32 tvb_len = tvb_length(tvb); + gint32 tvb_len = tvb_captured_length(tvb); gint32 offset = 0; gint32 hdr_len, hdr_start; gint32 val_len, val_start; @@ -4645,7 +4645,7 @@ add_addresses(proto_tree *tree, tvbuff_t *tvb, int hf) guint8 address_flags_len; int address_len; proto_tree *address_flags_tree; - guint32 tvb_len = tvb_length(tvb); + guint32 tvb_len = tvb_captured_length(tvb); guint32 offset = 0; guint32 idx = 0; /* Address index */ guint32 address_record_len; /* Length of the entire address record */ |