From: Ben Pfaff Date: Tue, 6 Apr 2010 00:12:43 +0000 (-0700) Subject: in-band: Fix inconsistency in in-band code. X-Git-Tag: v1.0.0~116 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=25bfb758931fbb1c53ac351caed8756ea516b734;p=sliver-openvswitch.git 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. --- 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); }