summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-wsp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-06-19 17:18:16 +0000
committerMichael Mann <mmann78@netscape.net>2014-06-19 18:25:59 +0000
commit14824e6adf07a1c3cfb6537ce8723d873ecd0d0f (patch)
treebdf1b52ecffe7825d719f34fb4be63c8a60bd1b4 /epan/dissectors/packet-wsp.c
parent3557ac4ec688b86ec7819005a3a181600e056251 (diff)
downloadwireshark-14824e6adf07a1c3cfb6537ce8723d873ecd0d0f.tar.gz
Revert "Fixup: tvb_* -> tvb_captured"
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r--epan/dissectors/packet-wsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c
index 282536e706..2c2fef9107 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_captured_length(tvb);
+ gint32 tvb_len = tvb_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_captured_length(tvb);
+ guint32 tvb_len = tvb_length(tvb);
guint32 offset = 0;
guint32 idx = 0; /* Address index */
guint32 address_record_len; /* Length of the entire address record */