]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: quic_stats: Duplicate "quic_streams_data_blocked_bidi" field name
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 20 Jun 2022 12:35:40 +0000 (14:35 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 20 Jun 2022 12:57:19 +0000 (14:57 +0200)
As reported by broxio in GH #1757, there was a duplication field name
for "quic_streams_data_blocked_bidi", due to a copy and paste without
renaming I guess.

Must be backported to 2.6.

src/quic_stats.c

index 16977109a3973d5b123baf55f7c44056d428ff1a..160ee7d8f072062c5df70803b49ffa8398376382 100644 (file)
@@ -68,7 +68,7 @@ static struct name_desc quic_stats[] = {
                                                .desc = "Total number of received STREAMS_BLOCKED frames" },
        [QUIC_ST_STREAMS_DATA_BLOCKED_BIDI] = { .name = "quic_streams_data_blocked_bidi",
                                                .desc = "Total number of received STREAM_DATA_BLOCKED_BIDI frames" },
-       [QUIC_ST_STREAMS_DATA_BLOCKED_UNI]  = { .name = "quic_streams_data_blocked_bidi",
+       [QUIC_ST_STREAMS_DATA_BLOCKED_UNI]  = { .name = "quic_streams_data_blocked_uni",
                                                .desc = "Total number of received STREAM_DATA_BLOCKED_UNI frames" },
 };