Skip to content
Snippets Groups Projects
Commit 65c4df23 authored by Rob Sherwood's avatar Rob Sherwood
Browse files

Changed LLDP's in topodiscovery to real src mac

Was sending all zeros for the LLDP's source mac
address.  Changed to use the sending interface's
MAC as advertised from OFPhysicalPort
parent 59946158
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,7 @@ public class LinkDiscoveryManager
}
Ethernet ethernet = new Ethernet()
.setSourceMACAddress(new byte[6])
.setSourceMACAddress(port.getHardwareAddress())
.setDestinationMACAddress(dstMacAddress)
.setEtherType(Ethernet.TYPE_LLDP);
// using "nearest customer bridge" MAC address for broadest possible propagation
......
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