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

Send reverse LLDP only when the received message is also LLDP (and not BDDP).

parent 4a79882a
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