QUIC: Change value ACK_ECN (draft -14)

with draft-14, it is now 0x1a (following order) and not 0x20

Change-Id: I0fe992d1525494e3499a85052621b995164d837a
Ping-Bug: 13881
Reviewed-on: https://code.wireshark.org/review/29702
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Alexis La Goutte 2018-09-17 18:27:57 +02:00 committed by Peter Wu
parent 8c529d3087
commit 2f6117409a
1 changed files with 3 additions and 1 deletions

View File

@ -353,7 +353,8 @@ static const value_string quic_long_packet_type_vals[] = {
#define FT_STREAM_17 0x17
#define FT_CRYPTO 0x18
#define FT_NEW_TOKEN 0x19 /* Add in draft 13 */
#define FT_ACK_ECN 0x20 /* Add in draft 13 */
#define FT_ACK_ECN 0x1a /* Add in draft 14 */
#define FT_ACK_ECN_OLD 0x20 /* Remove in draft 14 */
static const range_string quic_frame_type_vals[] = {
{ 0x00, 0x00, "PADDING" },
@ -375,6 +376,7 @@ static const range_string quic_frame_type_vals[] = {
{ 0x10, 0x17, "STREAM" },
{ 0x18, 0x18, "CRYPTO" },
{ 0x19, 0x19, "NEW_TOKEN" },
{ 0x1a, 0x1a, "ACK_ECN" },
{ 0x20, 0x20, "ACK_ECN" },
{ 0, 0, NULL },
};