diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-10-13 10:32:38 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-10-13 10:49:12 +0000 |
commit | 94d35481b773e785c3aec31f81dea4300fdb5669 (patch) | |
tree | 1ae149470e98f552dbd03ee5316b303913e296ea /epan/dissectors/packet-spdy.c | |
parent | 749832a35cde4b6be22456e85266dcd74e5565c8 (diff) |
SPDY: Fix typo about length for Control bit
Found by yurui ming
Change-Id: Ibef07fa13af0de8357bdf98a038460706d0972f7
Ping-Bug: 10566
Reviewed-on: https://code.wireshark.org/review/4635
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-spdy.c')
-rw-r--r-- | epan/dissectors/packet-spdy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-spdy.c b/epan/dissectors/packet-spdy.c index 1e1e5744da..05ed2e15b3 100644 --- a/epan/dissectors/packet-spdy.c +++ b/epan/dissectors/packet-spdy.c @@ -1529,7 +1529,7 @@ static int dissect_spdy_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre /* Add control bit. */ control_bit = tvb_get_guint8(tvb, offset) & 0x80; - proto_tree_add_item(spdy_tree, hf_spdy_control_bit, tvb, offset, 1, ENC_NA); + proto_tree_add_item(spdy_tree, hf_spdy_control_bit, tvb, offset, 2, ENC_NA); /* Process first four bytes of frame, formatted depending on control bit. */ if (control_bit) { |