ovs-vswitchd: Don't print supported OpenFlow versions with "-V".
authorJustin Pettit <jpettit@nicira.com>
Wed, 15 Apr 2015 20:26:32 +0000 (13:26 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 15 Apr 2015 20:50:44 +0000 (13:50 -0700)
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>
vswitchd/ovs-vswitchd.c

index 44d44f0..a1b33da 100644 (file)
@@ -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: