connmgr: Fix packet-in reason for OpenFlow1.3 table-miss flow entries.
[sliver-openvswitch.git] / ofproto / ofproto-dpif-xlate.c
index ed9ca7c..1eb0953 100644 (file)
@@ -1856,6 +1856,8 @@ execute_controller_action(struct xlate_ctx *ctx, int len,
 
     pin->controller_id = controller_id;
     pin->send_len = len;
+    pin->generated_by_table_miss = (ctx->rule
+                                    && rule_dpif_is_table_miss(ctx->rule));
     ofproto_dpif_send_packet_in(ctx->xbridge->ofproto, pin);
     ofpbuf_delete(packet);
 }