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

Merge into master from pull request #305:

Send reverse LLDP only when the received messages is forward LLDP (and not BDDP). (https://github.com/floodlight/floodlight/pull/305)
parents 4a79882a 82aa5daf
No related branches found
No related tags found
No related merge requests found
......@@ -688,7 +688,7 @@ IFloodlightModule, IInfoProvider, IHAListener {
// reverse link.
newLinkInfo = links.get(lt);
if (newLinkInfo != null && isReverse == false) {
if (newLinkInfo != null && isStandard && isReverse == false) {
Link reverseLink = new Link(lt.getDst(), lt.getDstPort(),
lt.getSrc(), lt.getSrcPort());
LinkInfo reverseInfo = links.get(reverseLink);
......
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