From: Ben Pfaff Date: Tue, 11 May 2010 19:22:17 +0000 (-0700) Subject: ovs-ofctl: "monitor" command takes no more than 2 arguments X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f1089b5036d9e51b8a9205d8462101bdaf52b95;p=openvswitch 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. --- 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 },