1
0
mirror of http://git.haproxy.org/git/haproxy.git/ synced 2025-04-29 22:38:40 +00:00

BUG/MEDIUM: cache fix cli_kws structure

The cli_kws structure was not ended and was causing undefined behavior.
This commit is contained in:
William Lallemand 2017-11-22 16:41:26 +01:00 committed by Willy Tarreau
parent 55e7674bc4
commit e899af89b5

View File

@ -920,10 +920,8 @@ static int cli_io_handler_show_cache(struct appctx *appctx)
} }
static struct cli_kw_list cli_kws = {{},{ static struct cli_kw_list cli_kws = {{},{
{ { "show", "cache", NULL }, { { "show", "cache", NULL }, "show cache : show cache status", cli_parse_show_cache, cli_io_handler_show_cache, NULL, NULL },
"show cache : show cache status", {{},}
cli_parse_show_cache, cli_io_handler_show_cache, NULL,
},
}}; }};