]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Wrong packet number space trace in qc_prep_pkts()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 29 Dec 2021 14:36:25 +0000 (15:36 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Tue, 4 Jan 2022 16:30:00 +0000 (17:30 +0100)
It was always the first packet number space information which was dumped.

src/xprt_quic.c

index d2ac8da0c22d8c29e50f94f6eec41cadb9c997b1..5dd977db2b12a6a9b7ae595d1b00b0df8d6860cb 100644 (file)
@@ -386,7 +386,7 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace
                        const struct quic_enc_level *qel = a2;
 
                        if (qel) {
-                               const struct quic_pktns *pktns = qc->pktns;
+                               const struct quic_pktns *pktns = qel->pktns;
                                chunk_appendf(&trace_buf,
                                              " qel=%c state=%s ack?%d cwnd=%llu ppif=%lld pif=%llu if=%llu pp=%u",
                                              quic_enc_level_char_from_qel(qel, qc),