mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
openflow: Split OFPAT_* into OFPAT10_* and OFPAT11_*.
An upcoming commit will start referring to OpenFlow 1.1 actions, which are renumbered relative to OpenFlow 1.0 actions, so this commit prepares by changing all the existing uses of OFPAT_* to instead use OFPAT10_*. This commit also introduces the OFPAT11_* constants. Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -255,7 +255,7 @@ learn_execute(const struct nx_action_learn *learn, const struct flow *flow,
|
||||
break;
|
||||
|
||||
case NX_LEARN_DST_OUTPUT:
|
||||
ofputil_put_OFPAT_OUTPUT(&actions)->port = htons(value);
|
||||
ofputil_put_OFPAT10_OUTPUT(&actions)->port = htons(value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user