projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d5735b
)
ovs-vsctl: Do not accept any arguments to "del-manager" command.
author
Ben Pfaff
<blp@nicira.com>
Mon, 15 Oct 2012 23:47:49 +0000
(16:47 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 22 Oct 2012 16:45:13 +0000
(09:45 -0700)
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@nicira.com>
utilities/ovs-vsctl.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-vsctl.c
b/utilities/ovs-vsctl.c
index e6bd63bd285ac833767811fd705c8a07d3c82416..fda3a89db25dc09c5a24545ce8946a22750f8d99 100644
(file)
--- 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. */