From: Frédéric Lécaille Date: Thu, 8 Sep 2022 07:52:14 +0000 (+0200) Subject: BUG/MINOR: quic: Trace fix about packet number space information. X-Git-Tag: v2.7-dev6~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3c1b81fdd7c0e9822bbb8a14c4b665b7df53ecf5;p=thirdparty%2Fhaproxy.git BUG/MINOR: quic: Trace fix about packet number space information. variable was confused with . 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. --- diff --git a/src/xprt_quic.c b/src/xprt_quic.c index 108a6e03b4..4cfd60f875 100644 --- a/src/xprt_quic.c +++ b/src/xprt_quic.c @@ -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),