[ovs-dev] [PATCH] ovs-vsctl: Do not accept any arguments to "del-manager" command.
Ben Pfaff
blp at nicira.com
Mon Oct 15 23:48:02 UTC 2012
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 <blp at nicira.com>
---
utilities/ovs-vsctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c
index e6bd63b..fda3a89 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. */
--
1.7.2.5
More information about the dev
mailing list