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

Merge pull request #256 from sriniram/master

Bugfix: Incorrect parameter in portLinks.contains() checking in LinkDiscoveryManager.
parents afe679a9 ce68c6ed
No related branches found
No related tags found
No related merge requests found
......@@ -788,11 +788,11 @@ IFloodlightModule, IInfoProvider, IHAListener {
switchLinks.get(lt.getDst()).add(lt);
// index both ends by switch:port
if (!portLinks.containsKey(lt.getSrc()))
if (!portLinks.containsKey(srcNpt))
portLinks.put(srcNpt, new HashSet<Link>());
portLinks.get(srcNpt).add(lt);
if (!portLinks.containsKey(lt.getDst()))
if (!portLinks.containsKey(dstNpt))
portLinks.put(dstNpt, new HashSet<Link>());
portLinks.get(dstNpt).add(lt);
......
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