Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ovs-vswitchd: Don't print supported OpenFlow versions with "-V".
When "-V" was supplied to ovs-vswitchd, it was returning a max supported
OpenFlow version of 1.0, which is no longer true.  There are other
methods to determine the supported OpenFlow versions in ovs-vswitchd, so
remove it from the "-V" output.

Reported-by: Russell Bryant <rbryant@redhat.com>
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
  • Loading branch information
Justin Pettit committed Apr 15, 2015
1 parent ea42263 commit 11b0684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vswitchd/ovs-vswitchd.c
Expand Up @@ -180,7 +180,7 @@ parse_options(int argc, char *argv[], char **unixctl_pathp)
usage();

case 'V':
ovs_print_version(OFP10_VERSION, OFP10_VERSION);
ovs_print_version(0, 0);
exit(EXIT_SUCCESS);

case OPT_MLOCKALL:
Expand Down

0 comments on commit 11b0684

Please sign in to comment.