From 87472751f782d7441afb829e7b408c1668f97fb2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 20 Apr 2010 13:39:35 -0700 Subject: [PATCH] in-band: Really reinstall in-band rules in in_band_flushed(). --- ofproto/in-band.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ofproto/in-band.c b/ofproto/in-band.c index aa522de2..85cc034d 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 -- 2.30.2