Skip to content
Snippets Groups Projects
Commit c9e553f3 authored by Srinivasan Ramasubramanian's avatar Srinivasan Ramasubramanian
Browse files

Remove link from tunnel and broadcast domain link sets if it is a direct link.

parent 4c07aa24
No related branches found
No related tags found
No related merge requests found
...@@ -184,6 +184,9 @@ IRoutingService, ILinkDiscoveryListener { ...@@ -184,6 +184,9 @@ IRoutingService, ILinkDiscoveryListener {
} else if (type.equals(LinkType.TUNNEL)) { } else if (type.equals(LinkType.TUNNEL)) {
addLinkToStructure(tunnelLinks, link); addLinkToStructure(tunnelLinks, link);
removeLinkFromStructure(portBroadcastDomainLinks, link); removeLinkFromStructure(portBroadcastDomainLinks, link);
} else if (type.equals(LinkType.DIRECT_LINK)) {
removeLinkFromStructure(tunnelLinks, link);
removeLinkFromStructure(portBroadcastDomainLinks, link);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment