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.

(cherry picked from commit 3c1b81fdd7c0e9822bbb8a14c4b665b7df53ecf5)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
This commit is contained in:
Frédéric Lécaille 2022-09-08 09:52:14 +02:00 committed by Christopher Faulet
parent 68436e33d1
commit 7652bec1cf

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),