in-band: Really reinstall in-band rules in in_band_flushed().
[sliver-openvswitch.git] / ofproto / in-band.c
index aa522de..85cc034 100644 (file)
@@ -740,10 +740,12 @@ in_band_wait(struct in_band *in_band)
     }
 }
 
+/* ofproto has flushed all flows from the flow table and it is calling us back
+ * to allow us to reinstall the ones that are important to us. */
 void
 in_band_flushed(struct in_band *in_band)
 {
-    clear_rules(in_band);
+    add_rules(in_band);
 }
 
 int