]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: config/ssl: fix spelling of "expose-experimental-directives"
authorWilly Tarreau <w@1wt.eu>
Thu, 29 Jan 2026 10:07:55 +0000 (11:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 29 Jan 2026 10:07:55 +0000 (11:07 +0100)
The help message for "ktls" mentions "expose-experimental-directive"
without the final 's', which is particularly annoying when copy-pasting
the directive from the error message directly into the config.

This should be backported to 3.3.

src/cfgparse-ssl.c

index b6ab1559eada3de8aa09cda014c887ac604273a7..660f88b429300e2d5f04f91d3bea0c62a374b941 100644 (file)
@@ -973,7 +973,7 @@ static int ssl_bind_parse_ktls(char **args, int cur_arg, struct proxy *px, struc
                return ERR_ALERT | ERR_FATAL;
        }
        if (!experimental_directives_allowed) {
-               memprintf(err, "'%s' directive is experimental, must be allowed via a global 'expose-experimental-directive'", args[cur_arg]);
+               memprintf(err, "'%s' directive is experimental, must be allowed via a global 'expose-experimental-directives'", args[cur_arg]);
                return ERR_ALERT | ERR_FATAL;
        }
        if (!strcasecmp(args[cur_arg + 1], "on")) {
@@ -2050,7 +2050,7 @@ static int srv_parse_ktls(char **args, int *cur_arg, struct proxy *px, struct se
        }
 
        if (!experimental_directives_allowed) {
-               memprintf(err, "'%s' directive is experimental, must be allowed via a global 'expose-experimental-directive'", args[*cur_arg]);
+               memprintf(err, "'%s' directive is experimental, must be allowed via a global 'expose-experimental-directives'", args[*cur_arg]);
                return ERR_ALERT | ERR_FATAL;
        }