]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: Distinguish packet and SSL read enc. level in traces
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 23 Sep 2021 16:10:56 +0000 (18:10 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Oct 2021 15:35:25 +0000 (17:35 +0200)
This is only to distinguish the encryption level of packet traces from
the TLS stack current read encryption level.

src/xprt_quic.c

index 802e5702b48c62b2053dc3f28d47cc7a08cf13ab..d7cef7631c593856f5240c0bcc4e513c96b7e826 100644 (file)
@@ -371,7 +371,7 @@ static void quic_trace(enum trace_level level, uint64_t mask, const struct trace
                                              (unsigned long long)cf->len);
                        if (ssl) {
                                enum ssl_encryption_level_t level = SSL_quic_read_level(ssl);
-                               chunk_appendf(&trace_buf, " el=%c",
+                               chunk_appendf(&trace_buf, " rel=%c",
                                              quic_enc_level_char(ssl_to_quic_enc_level(level)));
                        }
                }