From dc2593e4601a95e9a4c3343731f1326e93148afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20L=C3=A9caille?= Date: Fri, 17 Sep 2021 16:57:14 +0200 Subject: [PATCH] MINOR: quic: Wrong packet flags settings during frame building We flag the packet as being ack-eliciting when building the frame. But a wrong variable was used to to so. --- src/quic_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quic_frame.c b/src/quic_frame.c index c06816fe6..0cbae59da 100644 --- a/src/quic_frame.c +++ b/src/quic_frame.c @@ -1016,7 +1016,7 @@ int qc_build_frm(unsigned char **buf, const unsigned char *end, return 0; } - pkt->flags |= builder[frm->type].flags; + pkt->flags |= builder->flags; return 1; }