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

Bug fix: prevCluster assignment is changed to reflect the L2 domain ID of the...

Bug fix: prevCluster assignment is changed to reflect the L2 domain ID of the prev entity.  It was possible for cur and prev to be swapped when duplicate attachment points were detected, where the prevCluster could have the wrong assignment.
parent 56015b37
No related branches found
No related tags found
No related merge requests found
......@@ -311,7 +311,7 @@ public class Device implements IDevice {
}
prev = clentities[clEntIndex] = cur;
prevCluster = curCluster;
prevCluster = topology.getL2DomainId(prev.getSwitchDPID());
long prevLastSeen =
deviceManager.apComparator.
......
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