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.
This commit is contained in:
Frédéric Lécaille 2021-09-17 16:57:14 +02:00 committed by Amaury Denoyelle
parent 156a59b7c9
commit dc2593e460

View File

@ -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;
}