Committed by
Gerrit Code Review
Merge "Compare ConnectPoints rather than Interfaces."
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -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 | } | ... | ... |
-
Please register or login to post a comment