2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-23 14:57:06 +00:00

ofp-util: Use enum ofp_table_config in struct ofputil_table_mod

Use enum ofp_table_config as the type of the 'config' field
of struct ofputil_table_mod. This reflects the usage
of the field.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Simon Horman
2014-03-12 11:22:37 +09:00
committed by Ben Pfaff
parent fdd73c2366
commit c76f25b5bc

View File

@@ -591,7 +591,7 @@ struct ofpbuf *ofputil_encode_port_mod(const struct ofputil_port_mod *,
/* Abstract ofp_table_mod. */
struct ofputil_table_mod {
uint8_t table_id; /* ID of the table, 0xff indicates all tables. */
uint32_t config;
enum ofp_table_config config;
};
enum ofperr ofputil_decode_table_mod(const struct ofp_header *,