commit | 3541bf29142762fcf32e7a370376ff39a6b2ebbf | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Sat Oct 04 22:06:19 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Mon Oct 06 09:51:17 2014 -0700 |
tree | 19fb5da20e20f182deb439e97fb2dabb743cadc7 | |
parent | 59718042b9912e03787d3dc00c4e19a377fb058e [diff] |
bugfix was comparing DeviceId with Device Change-Id: I5b138b64c4e7b2e0e217218c225b59bc3e63337f
diff --git a/core/net/src/main/java/org/onlab/onos/net/proxyarp/impl/ProxyArpManager.java b/core/net/src/main/java/org/onlab/onos/net/proxyarp/impl/ProxyArpManager.java index 5e7e012..4933322 100644 --- a/core/net/src/main/java/org/onlab/onos/net/proxyarp/impl/ProxyArpManager.java +++ b/core/net/src/main/java/org/onlab/onos/net/proxyarp/impl/ProxyArpManager.java
@@ -206,12 +206,12 @@ for (Link l : links) { // for each link, mark the concerned ports as internal // and the remaining ports are therefore external. - if (l.src().deviceId().equals(d) + if (l.src().deviceId().equals(d.id()) && ports.contains(l.src().port())) { ports.remove(l.src().port()); internalPorts.put(d, l.src().port()); } - if (l.dst().deviceId().equals(d) + if (l.dst().deviceId().equals(d.id()) && ports.contains(l.dst().port())) { ports.remove(l.dst().port()); internalPorts.put(d, l.dst().port());