diff options
author | Ben Pfaff <blp@ovn.org> | 2018-08-29 11:30:13 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-01-15 16:59:37 -0800 |
commit | 4e413ac88d4841d7e17de3e36bba3fa12796e938 (patch) | |
tree | f2b60dfccac0bec0393e261721cfa78f99458a98 /lib/ofp-print.c | |
parent | d1a227ecef81773a748320cee733334d21b484ce (diff) | |
download | openvswitch-4e413ac88d4841d7e17de3e36bba3fa12796e938.tar.gz |
ovs-vswitchd: Implement OFPT_TABLE_FEATURES table modification request.
This allows a controller to change the name of OpenFlow flow tables in the
OVS software switch.
CC: Brad Cowie <brad@cowie.nz>
Acked-by: Justin Pettit <jpettit@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'lib/ofp-print.c')
-rw-r--r-- | lib/ofp-print.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 789b40a3c..9c8851590 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -234,9 +234,8 @@ ofp_print_table_features_reply(struct ds *s, const struct ofp_header *oh) int first_ditto = -1, last_ditto = -1; for (int i = 0; ; i++) { struct ofputil_table_features tf; - int retval; - - retval = ofputil_decode_table_features(&b, &tf, true); + struct ofpbuf raw_properties; + int retval = ofputil_decode_table_features(&b, &tf, &raw_properties); if (retval) { ofputil_table_features_format_finish(s, first_ditto, last_ditto); return retval != EOF ? retval : 0; |