[ovs-dev] [pre-async 7/8] ofproto: Better abstract aggregate stats encoding and decoding.
Justin Pettit
jpettit at nicira.com
Tue May 31 07:47:25 UTC 2011
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