mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
BUG/MINOR: cli: "clear table xx data.xx" does not work anymore
Commit 654694e1 introduced in 1.5-dev12 broke the ability to clear some entries in a table by the value of their data fields.
This commit is contained in:
parent
20e993239d
commit
04b3a19709
@ -741,8 +741,8 @@ static void stats_sock_table_key_request(struct stream_interface *si, char **arg
|
|||||||
|
|
||||||
static void stats_sock_table_data_request(struct stream_interface *si, char **args, int action)
|
static void stats_sock_table_data_request(struct stream_interface *si, char **args, int action)
|
||||||
{
|
{
|
||||||
if (action != STAT_CLI_O_TAB) {
|
if (action != STAT_CLI_O_TAB && action != STAT_CLI_O_CLR) {
|
||||||
si->applet.ctx.cli.msg = "content-based lookup is only supported with the \"show\" action";
|
si->applet.ctx.cli.msg = "content-based lookup is only supported with the \"show\" and \"clear\" actions";
|
||||||
si->applet.st0 = STAT_CLI_PRINT;
|
si->applet.st0 = STAT_CLI_PRINT;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user