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

Fix NPE in LinkDiscoveryManager.java

parent 5a7271f2
No related branches found
No related tags found
No related merge requests found
......@@ -1477,6 +1477,8 @@ public class LinkDiscoveryManager implements IOFMessageListener,
}
IOFSwitch iofSwitch = floodlightProvider.getSwitches().get(sw);
if (iofSwitch == null) return;
if (autoPortFastFeature && iofSwitch.isFastPort(p)) {
// Do nothing as the port is a fast port.
return;
......
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