Jonathan Hart
Committed by Gerrit Code Review

Merge "Compare ConnectPoints rather than Interfaces."

...@@ -598,7 +598,7 @@ public class Router implements RouteListener { ...@@ -598,7 +598,7 @@ public class Router implements RouteListener {
598 Set<ConnectPoint> ingressPorts = new HashSet<>(); 598 Set<ConnectPoint> ingressPorts = new HashSet<>();
599 599
600 for (Interface intf : interfaceService.getInterfaces()) { 600 for (Interface intf : interfaceService.getInterfaces()) {
601 - if (!intf.equals(egressInterface)) { 601 + if (!intf.connectPoint().equals(egressInterface.connectPoint())) {
602 ConnectPoint srcPort = intf.connectPoint(); 602 ConnectPoint srcPort = intf.connectPoint();
603 ingressPorts.add(srcPort); 603 ingressPorts.add(srcPort);
604 } 604 }
......