From 7f1089b5036d9e51b8a9205d8462101bdaf52b95 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 11 May 2010 12:22:17 -0700 Subject: [PATCH] ovs-ofctl: "monitor" command takes no more than 2 arguments The "monitor" command would accept 3 arguments and ignore the third one. Reject such usage instead. --- utilities/ovs-ofctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index 61d0e104..46994823 100644 --- 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 }, -- 2.30.2