mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 18:31:37 +00:00
Make sure we dont use a multicast MAC for ethernet
This commit is contained in:
parent
988d5af69b
commit
0b9c8e62ea
@ -94,6 +94,7 @@ bool initEthernet()
|
|||||||
// createSSLCert();
|
// createSSLCert();
|
||||||
|
|
||||||
getMacAddr(mac); // FIXME use the BLE MAC for now...
|
getMacAddr(mac); // FIXME use the BLE MAC for now...
|
||||||
|
mac[0] &= 0xfe; // Make sure this is not a multicast MAC
|
||||||
|
|
||||||
if (config.network.address_mode == Config_NetworkConfig_AddressMode_DHCP) {
|
if (config.network.address_mode == Config_NetworkConfig_AddressMode_DHCP) {
|
||||||
LOG_INFO("starting Ethernet DHCP\n");
|
LOG_INFO("starting Ethernet DHCP\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user