[ovs-dev] [PATCH] ovs-ovctl: Fix "OpenFlow versions" in ovs-ofctl -V

Timothy Redaelli tredaelli at redhat.com
Thu Jul 27 15:43:49 UTC 2017


Fix the output of "ovs-ofctl -V" to show OpenFlow 1.4 as max supported
versions since OpenFlow 1.4 was enabled by default in commit
8d3485791188 ("OpenFlow: Enable OpenFlow 1.4 by default.")

CC: Ben Pfaff <blp at ovn.org>
Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
---
 lib/ofp-version-opt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ofp-version-opt.h b/lib/ofp-version-opt.h
index 5c8e7b866..74cad5b3f 100644
--- a/lib/ofp-version-opt.h
+++ b/lib/ofp-version-opt.h
@@ -11,7 +11,7 @@
 
 #define OFP_VERSION_OPTION_HANDLERS                             \
         case 'V':                                               \
-            ovs_print_version(OFP10_VERSION, OFP13_VERSION);    \
+            ovs_print_version(OFP10_VERSION, OFP14_VERSION);    \
             exit(EXIT_SUCCESS);                                 \
                                                                 \
         case 'O':                                               \
-- 
2.13.3



More information about the dev mailing list