From 0d2f19a957555dd34a371189c06d445442cc060e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 15 Oct 2012 16:47:49 -0700 Subject: [PATCH] ovs-vsctl: Do not accept any arguments to "del-manager" command. It doesn't use them and never has. Found when I accidentally typed this command with some arguments and it worked, surprising me. Signed-off-by: Ben Pfaff --- utilities/ovs-vsctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c index e6bd63bd..fda3a89d 100644 --- a/utilities/ovs-vsctl.c +++ b/utilities/ovs-vsctl.c @@ -3995,7 +3995,7 @@ static const struct vsctl_command_syntax all_commands[] = { /* Manager commands. */ {"get-manager", 0, 0, pre_manager, cmd_get_manager, NULL, "", RO}, - {"del-manager", 0, INT_MAX, pre_manager, cmd_del_manager, NULL, "", RW}, + {"del-manager", 0, 0, pre_manager, cmd_del_manager, NULL, "", RW}, {"set-manager", 1, INT_MAX, pre_manager, cmd_set_manager, NULL, "", RW}, /* SSL commands. */ -- 2.30.2