MINOR: quic: Wrong packet number space trace in qc_prep_pkts()

It was always the first packet number space information which was dumped.
This commit is contained in:
Frédéric Lécaille 2021-12-29 15:36:25 +01:00
parent 466e9da145
commit dd51da599e

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