Skip to content
Snippets Groups Projects
Commit 49e3a013 authored by abat's avatar abat
Browse files

Merge into master from pull request #3695:

Display controller-node summary in entry form (https://github.com/bigswitch/bigswitchcontroller/pull/3695)
parents d95df4f6 8503b37c
No related branches found
No related tags found
No related merge requests found
......@@ -2265,7 +2265,8 @@ public class LinkDiscoveryManager implements IOFMessageListener,
for (Set<Link> links : switchLinks.values()) {
for (Link link : links) {
LinkInfo linkInfo = this.getLinkInfo(link);
if (linkInfo.getLinkType() == LinkType.DIRECT_LINK) {
if (linkInfo != null &&
linkInfo.getLinkType() == LinkType.DIRECT_LINK) {
numDirectLinks++;
}
}
......
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