Commit
bcd2633a (ofproto-dpif: Store relevant fields for wildcarding
in facet.) introduced the bug that uses original input flow as final
flow to compute the "Relevant fields" in ofproto/trace ouput. This
commit fixes this bug.
Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ds_put_char(ds, '\n');
trace_format_flow(ds, 0, "Final flow", &trace);
- match_init(&match, flow, &trace.xout.wc);
+ match_init(&match, &trace.flow, &trace.xout.wc);
ds_put_cstr(ds, "Relevant fields: ");
match_format(&match, ds, OFP_DEFAULT_PRIORITY);
ds_put_char(ds, '\n');