On Mon, Jul 30, 2012 at 09:43:17PM -0700, Ben Pfaff wrote:
> 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 <ho...@verge.net.au>
> > 
> 
> ...
> 
> > @@ -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().

Thanks.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to