From 0b9c8e62eac9da68693e93a99c425623c507edbe Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Thu, 5 Jan 2023 22:31:57 -0800 Subject: [PATCH] Make sure we dont use a multicast MAC for ethernet --- src/mesh/eth/ethClient.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesh/eth/ethClient.cpp b/src/mesh/eth/ethClient.cpp index 29f55ebee..4ac9bd9ad 100644 --- a/src/mesh/eth/ethClient.cpp +++ b/src/mesh/eth/ethClient.cpp @@ -94,6 +94,7 @@ bool initEthernet() // createSSLCert(); 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) { LOG_INFO("starting Ethernet DHCP\n");