From: Ben Pfaff Date: Tue, 20 Apr 2010 20:39:35 +0000 (-0700) Subject: in-band: Really reinstall in-band rules in in_band_flushed(). X-Git-Tag: v1.0.0~105 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=87472751f782d7441afb829e7b408c1668f97fb2;p=sliver-openvswitch.git in-band: Really reinstall in-band rules in in_band_flushed(). --- diff --git a/ofproto/in-band.c b/ofproto/in-band.c index aa522de27..85cc034d1 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -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