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

Bug fix: handleLLDP() method uses incorrect port variable when getting the...

Bug fix: handleLLDP() method uses incorrect port variable when getting the state of the packet-in port.
parent a5130b39
No related branches found
No related tags found
No related merge requests found
......@@ -522,7 +522,7 @@ public class LinkDiscoveryManager
OFPhysicalPort physicalPort = remoteSwitch.getPort(remotePort);
int srcPortState = (physicalPort != null) ? physicalPort.getState() : 0;
physicalPort = sw.getPort(remotePort);
physicalPort = sw.getPort(pi.getInPort());
int dstPortState = (physicalPort != null) ? physicalPort.getState() : 0;
// Store the time of update to this link, and push it out to routingEngine
......
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