diff --git a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java index 44d37beeb12ea9d0501293e606f341b51dca3274..272e33e35677cc00064331ab2f33e2c19e7b1cdd 100644 --- a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java +++ b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkDiscoveryManager.java @@ -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