[ovs-dev] [pre-async 7/8] ofproto: Better abstract aggregate stats encoding and decoding.
Ben Pfaff
blp at nicira.com
Tue May 31 23:49:31 UTC 2011
Oops. I moved the fix there.
On Tue, May 31, 2011 at 12:47:25AM -0700, Justin Pettit wrote:
> This was actually introduced in patch 6.
>
> --Justin
>
>
> On May 26, 2011, at 4:03 PM, Ben Pfaff wrote:
>
> > Here's a bugfix incremental:
> >
> > diff --git a/lib/ofp-util.c b/lib/ofp-util.c
> > index d6b5827..4b08dda 100644
> > --- a/lib/ofp-util.c
> > +++ b/lib/ofp-util.c
> > @@ -1633,7 +1635,7 @@ put_stats_reply__(const struct ofp_stats_msg *request, struct ofpbuf *msg)
> > assert(request->header.type == OFPT_STATS_REQUEST ||
> > request->header.type == OFPT_STATS_REPLY);
> > put_stats__(request->header.xid, OFPT_STATS_REPLY, request->type,
> > - (request->type == htons(OFPST_VENDOR)
> > + (request->type != htons(OFPST_VENDOR)
> > ? htonl(0)
> > : ((const struct nicira_stats_msg *) request)->subtype),
> > msg);
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev
>
More information about the dev
mailing list