projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6bc4a0
)
ovs-ofctl: "monitor" command takes no more than 2 arguments
author
Ben Pfaff
<blp@nicira.com>
Tue, 11 May 2010 19:22:17 +0000
(12:22 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 11 May 2010 19:22:17 +0000
(12:22 -0700)
The "monitor" command would accept 3 arguments and ignore the third one.
Reject such usage instead.
utilities/ovs-ofctl.c
patch
|
blob
|
history
diff --git
a/utilities/ovs-ofctl.c
b/utilities/ovs-ofctl.c
index 61d0e104706be30267f29353b2dcfddb1329b273..46994823e2a5d229a1668c92466fc6b87ac355d0 100644
(file)
--- a/
utilities/ovs-ofctl.c
+++ b/
utilities/ovs-ofctl.c
@@
-1291,7
+1291,7
@@
do_help(int argc OVS_UNUSED, char *argv[] OVS_UNUSED)
static const struct command all_commands[] = {
{ "show", 1, 1, do_show },
{ "status", 1, 2, do_status },
- { "monitor", 1,
3
, do_monitor },
+ { "monitor", 1,
2
, do_monitor },
{ "dump-desc", 1, 1, do_dump_desc },
{ "dump-tables", 1, 1, do_dump_tables },
{ "dump-flows", 1, 2, do_dump_flows },