}
if (rule || ofpacts) {
- uint64_t odp_actions_stub[1024 / 8];
- struct ofpbuf odp_actions;
struct trace_ctx trace;
struct match match;
uint16_t tcp_flags;
tcp_flags = packet ? packet_get_tcp_flags(packet, flow) : 0;
trace.result = ds;
trace.flow = *flow;
- ofpbuf_use_stub(&odp_actions,
- odp_actions_stub, sizeof odp_actions_stub);
xlate_in_init(&trace.xin, ofproto, flow, rule, tcp_flags, packet);
if (ofpacts) {
trace.xin.ofpacts = ofpacts;
ds_put_char(ds, '\n');
trace_format_flow(ds, 0, "Final flow", &trace);
- match_init(&match, flow, &trace.xout.wc);
- ds_put_cstr(ds, "Relevant fields: ");
+ match_init(&match, &trace.flow, &trace.xout.wc);
+ ds_put_cstr(ds, "Megaflow: ");
match_format(&match, ds, OFP_DEFAULT_PRIORITY);
ds_put_char(ds, '\n');