ofproto/trace: Change output field name.
[sliver-openvswitch.git] / ofproto / ofproto-dpif.c
index a3fd792..e7b74f7 100644 (file)
@@ -3845,8 +3845,6 @@ ofproto_trace(struct ofproto_dpif *ofproto, const struct flow *flow,
     }
 
     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;
@@ -3854,8 +3852,6 @@ ofproto_trace(struct ofproto_dpif *ofproto, const struct flow *flow,
         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;
@@ -3870,8 +3866,8 @@ ofproto_trace(struct ofproto_dpif *ofproto, const struct flow *flow,
         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');