From 25bfb758931fbb1c53ac351caed8756ea516b734 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 5 Apr 2010 17:12:43 -0700 Subject: [PATCH] in-band: Fix inconsistency in in-band code. The IBR_TO_LOCAL_ARP and IBR_FROM_LOCAL_ARP flows are dropped if there is no local MAC. I don't see why IBR_FROM_LOCAL_DHCP should be different, so this commit adds it too. --- ofproto/in-band.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/in-band.c b/ofproto/in-band.c index 2118809ea..7774a51e3 100644 --- a/ofproto/in-band.c +++ b/ofproto/in-band.c @@ -504,6 +504,7 @@ in_band_run(struct in_band *in_band) (OFPFW_DL_TYPE | OFPFW_DL_SRC | OFPFW_NW_PROTO), OFPP_NORMAL); } else { + drop_flow(in_band, IBR_FROM_LOCAL_DHCP); drop_flow(in_band, IBR_TO_LOCAL_ARP); drop_flow(in_band, IBR_FROM_LOCAL_ARP); } -- 2.43.0