diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2020-09-08 21:37:34 +0200 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2020-09-09 03:43:54 +0000 |
commit | f75281cdd0cd6adcaeae655018fd193fb3ea8d67 (patch) | |
tree | 643b588417a2462787ec07e59c12710016b250c7 | |
parent | 9e36a4faddef7b213b5eb137e10f636f2b20f7cb (diff) |
QUIC: Fix missing bit shift from KP (Key Phase)
-rw-r--r-- | epan/dissectors/packet-quic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-quic.c b/epan/dissectors/packet-quic.c index cf369b0d19..3f2a2c0a95 100644 --- a/epan/dissectors/packet-quic.c +++ b/epan/dissectors/packet-quic.c @@ -2826,7 +2826,7 @@ dissect_quic_short_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tr if (quic_packet->pkn_len) { key_phase = (first_byte & SH_KP) != 0; proto_tree_add_uint(hdr_tree, hf_quic_short_reserved, tvb, offset, 1, first_byte); - proto_tree_add_boolean(hdr_tree, hf_quic_key_phase, tvb, offset, 1, key_phase); + proto_tree_add_boolean(hdr_tree, hf_quic_key_phase, tvb, offset, 1, key_phase<<2); proto_tree_add_uint(hdr_tree, hf_quic_packet_number_length, tvb, offset, 1, first_byte); } offset += 1; |