On Wed, Aug 08, 2012 at 06:49:47AM +0900, Simon Horman wrote: > Signed-off-by: Simon Horman <ho...@verge.net.au> > + case OFPUTIL_P_OF12: { > + struct ofp11_flow_stats_request *ofsr; > + > + raw = (fsr->aggregate > + ? OFPRAW_OFPST_AGGREGATE_REQUEST > + : OFPRAW_OFPST_FLOW_REQUEST); > + msg = ofpraw_alloc(raw, OFP12_VERSION, 0);
I changed 0 to NXM_TYPICAL_LEN here, and in the existing OFPUTIL_P_NXM case too. > + ofsr = ofpbuf_put_zeros(msg, sizeof *ofsr); > + ofsr->table_id = fsr->table_id; > + ofsr->out_port = ofputil_port_to_ofp11(fsr->out_port); > + ofsr->out_group = htonl(OFPG11_ANY); > + ofsr->cookie = fsr->cookie; > + ofsr->cookie_mask = fsr->cookie_mask; > + oxm_put_match(msg, &fsr->match); > + break; > + } _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev