BUG/MINOR: quic: Trace fix about packet number space information.

<qc> variable was confused with <qel>. The consequence was that it was
always the same packet number space which was displayed: the first one (or
the Initial packet number space).

Must be backported to 2.6.
This commit is contained in:
Frédéric Lécaille 2022-09-08 09:52:14 +02:00
parent bb995eafc7
commit 3c1b81fdd7

View File

@ -352,7 +352,7 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace
const ssize_t *room = a4;
if (qel) {
const struct quic_pktns *pktns = qc->pktns;
const struct quic_pktns *pktns = qel->pktns;
chunk_appendf(&trace_buf, " qel=%c cwnd=%llu ppif=%lld pif=%llu "
"if=%llu pp=%u",
quic_enc_level_char_from_qel(qel, qc),