On Mon, Jul 30, 2012 at 11:03:01AM +0900, Simon Horman wrote:
> Add action bits for Open Flow 1.2, these are not the same as Open Flow 1.1.
>
> Signed-off-by: Simon Horman <[email protected]>
>
...
> @@ -2420,10 +2437,13 @@ ofputil_decode_switch_features(const struct
> ofp_header *oh,
> }
> switch ((enum ofp_version)oh->version) {
> case OFP11_VERSION:
> - case OFP12_VERSION:
> features->actions = decode_action_bits(UINT32_MAX,
> of11_action_bits);
> break;
> + case OFP12_VERSION:
> + features->actions = decode_action_bits(UINT32_MAX,
> + of12_action_bits);
> + break;
"sparse" complained here too so I added htonl().
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev