]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: cli: Fix a typo in the 'set rate-limit' usage
authorAurélien Nephtali <aurelien.nephtali@corp.ovh.com>
Sun, 11 Mar 2018 15:55:02 +0000 (16:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Mar 2018 06:49:08 +0000 (07:49 +0100)
The correct keyword is 'ssl-sessions' (vs. 'ssl-session').
The typo was introduced in 45c742be05 ('REORG: cli: move the "set
rate-limit" functions to their own parser').

Signed-off-by: Aurélien Nephtali <aurelien.nephtali@corp.ovh.com>
src/cli.c

index 5a6da3fa140859bb003616704cfce37ccb5fc242..84b6229b73b4a9edbb3ace5d165d92a4e6b1d0f3 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -1184,7 +1184,7 @@ static int cli_parse_set_ratelimit(char **args, struct appctx *appctx, void *pri
                        "   - 'connections global' to set the per-process maximum connection rate\n"
                        "   - 'sessions global' to set the per-process maximum session rate\n"
 #ifdef USE_OPENSSL
-                       "   - 'ssl-session global' to set the per-process maximum SSL session rate\n"
+                       "   - 'ssl-sessions global' to set the per-process maximum SSL session rate\n"
 #endif
                        "   - 'http-compression global' to set the per-process maximum compression speed in kB/s\n";
                appctx->st0 = CLI_ST_PRINT;