Skip to content
Snippets Groups Projects
Commit 092564a5 authored by abat's avatar abat
Browse files

Merge into master from pull request #2491:

Fix NPE in LinkDiscoveryManager.java (https://github.com/bigswitch/bigswitchcontroller/pull/2491)
parents d51ac3c3 c8162bbd
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