aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-capwap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-04-28 07:49:40 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-29 04:17:09 +0000
commitc93e437bbb93a656a54279b2556f73704fd905a2 (patch)
treeb81e404a14ae86616f9247ce7b6d34f3aa11d556 /epan/dissectors/packet-capwap.c
parentb5e19fce6d399ebf61e83d966c9863204cd7e588 (diff)
CAPWAP: fix wrong offset length for header length hf
Change-Id: I336509ab2ddb6c3c9890fdcbd838f0235738b3cf Reviewed-on: https://code.wireshark.org/review/8225 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-capwap.c')
-rw-r--r--epan/dissectors/packet-capwap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c
index a86b346d15..ab9bf94233 100644
--- a/epan/dissectors/packet-capwap.c
+++ b/epan/dissectors/packet-capwap.c
@@ -2859,7 +2859,7 @@ dissect_capwap_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint offs
capwap_header_tree = proto_item_add_subtree(ti, ett_capwap_header);
/* Header Length : 5 Bits */
- ti_len = proto_tree_add_item(capwap_header_tree, hf_capwap_header_hlen, tvb, offset+plen, 1, ENC_BIG_ENDIAN);
+ ti_len = proto_tree_add_item(capwap_header_tree, hf_capwap_header_hlen, tvb, offset+plen, 3, ENC_BIG_ENDIAN);
proto_item_append_text(ti_len, " (%d)",hlen+1);
/* Radio ID : 5 Bits */
proto_tree_add_item(capwap_header_tree, hf_capwap_header_rid, tvb, offset+plen, 3, ENC_BIG_ENDIAN);