mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
ofp-util: Add OFPUTIL_ACTION_INVALID to enum ofputil_action_code.
Possibly the ofputil_decode_action() interface should be rethought now that ofputil_action_code has an invalid value. Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -323,6 +323,9 @@ parse_named_action(enum ofputil_action_code code, const struct flow *flow,
|
||||
struct ofp_action_tp_port *oata;
|
||||
|
||||
switch (code) {
|
||||
case OFPUTIL_ACTION_INVALID:
|
||||
NOT_REACHED();
|
||||
|
||||
case OFPUTIL_OFPAT10_OUTPUT:
|
||||
parse_output(b, arg);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user