aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-05-27 21:33:27 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-05-27 21:33:27 +0000
commit6879e6da67ea9fe224b67ec0dab3c917b0639e81 (patch)
tree978ff646ef37f2738cf3fdc8e55c988946a60f16 /epan/dissectors
parentd328993c0dc965232d3c4d7e85ff55ba91aaa111 (diff)
from didier fix for the regression for bug 62
svn path=/trunk/; revision=14457
Diffstat (limited to 'epan/dissectors')
-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 927cc3c2d9..3c54872868 100644
--- a/epan/dissectors/packet-wsp.c
+++ b/epan/dissectors/packet-wsp.c
@@ -5557,8 +5557,8 @@ add_capabilities (proto_tree *tree, tvbuff_t *tvb, guint8 pdu_type)
*/
capaValueLen = tvb_get_guintvar(tvb, offset, &len);
capaLen = capaValueLen + len;
- offset += len;
tvb_ensure_bytes_exist(tvb, offset, capaLen);
+ offset += len;
/*
* Now offset points to the 1st byte of the capability type.
* Get the capability identifier.