QUIC: fix reserved bits and packet number length in long headers

On the second pass, the reserved bits and packet number length were
always displayed as zero. Be sure to use results from the initial pass.

Bug: 15492
Change-Id: I21a34d618a9933bd3ad26b691e043a62e5fcfb41
Reviewed-on: https://code.wireshark.org/review/31976
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
Peter Wu 2019-02-11 17:12:02 +01:00 committed by Alexis La Goutte
parent 9a4393851b
commit 4129c3efc0
1 changed files with 2 additions and 0 deletions

View File

@ -1908,6 +1908,8 @@ dissect_quic_long_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *quic_tre
if (error) {
quic_packet->decryption.error = wmem_strdup(wmem_file_scope(), error);
}
} else if (conn && quic_packet->pkn_len) {
first_byte = quic_packet->first_byte;
}
#endif /* !HAVE_LIBGCRYPT_AEAD */