bugfix was comparing DeviceId with Device
Change-Id: I5b138b64c4e7b2e0e217218c225b59bc3e63337f
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -206,12 +206,12 @@ public class ProxyArpManager implements ProxyArpService { | ... | @@ -206,12 +206,12 @@ public class ProxyArpManager implements ProxyArpService { |
206 | for (Link l : links) { | 206 | for (Link l : links) { |
207 | // for each link, mark the concerned ports as internal | 207 | // for each link, mark the concerned ports as internal |
208 | // and the remaining ports are therefore external. | 208 | // and the remaining ports are therefore external. |
209 | - if (l.src().deviceId().equals(d) | 209 | + if (l.src().deviceId().equals(d.id()) |
210 | && ports.contains(l.src().port())) { | 210 | && ports.contains(l.src().port())) { |
211 | ports.remove(l.src().port()); | 211 | ports.remove(l.src().port()); |
212 | internalPorts.put(d, l.src().port()); | 212 | internalPorts.put(d, l.src().port()); |
213 | } | 213 | } |
214 | - if (l.dst().deviceId().equals(d) | 214 | + if (l.dst().deviceId().equals(d.id()) |
215 | && ports.contains(l.dst().port())) { | 215 | && ports.contains(l.dst().port())) { |
216 | ports.remove(l.dst().port()); | 216 | ports.remove(l.dst().port()); |
217 | internalPorts.put(d, l.dst().port()); | 217 | internalPorts.put(d, l.dst().port()); | ... | ... |
-
Please register or login to post a comment