summaryrefslogtreecommitdiff
path: root/lib/ofp-print.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-04-10 14:39:12 -0700
committerBen Pfaff <blp@ovn.org>2016-04-18 08:49:59 -0700
commitb79d45a1cf5d5ea7915755db9a4d2063351988ab (patch)
tree337a271fda7ba5b5f5948489e9e06a06bed8f7a4 /lib/ofp-print.c
parent0c05d7580d58f17c8e642eb113fd9867333d7196 (diff)
downloadopenvswitch-b79d45a1cf5d5ea7915755db9a4d2063351988ab.tar.gz
Add skeleton for OF1.6 support.
Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Ryan Moats <rmoats@us.ibm.com>
Diffstat (limited to 'lib/ofp-print.c')
-rw-r--r--lib/ofp-print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ofp-print.c b/lib/ofp-print.c
index 24464a164..69f90f301 100644
--- a/lib/ofp-print.c
+++ b/lib/ofp-print.c
@@ -548,6 +548,7 @@ ofp_print_switch_features(struct ds *string, const struct ofp_header *oh)
case OFP13_VERSION:
case OFP14_VERSION:
case OFP15_VERSION:
+ case OFP16_VERSION:
return; /* no ports in ofp13_switch_features */
default:
OVS_NOT_REACHED();
@@ -2343,6 +2344,9 @@ ofp_print_version(const struct ofp_header *oh,
case OFP15_VERSION:
ds_put_cstr(string, " (OF1.5)");
break;
+ case OFP16_VERSION:
+ ds_put_cstr(string, " (OF1.6)");
+ break;
default:
ds_put_format(string, " (OF 0x%02"PRIx8")", oh->version);
break;