mirror of https://github.com/arendst/Tasmota.git
Fix ESP32 ethernet gateway et al
Fix ESP32 ethernet gateway et al (#8503)
This commit is contained in:
parent
5ec694b3f3
commit
019400d77d
|
@ -95,6 +95,9 @@ void EthernetEvent(WiFiEvent_t event) {
|
|||
Serial.print(ETH.linkSpeed());
|
||||
Serial.println("Mbps");
|
||||
*/
|
||||
Settings.ip_address[1] = (uint32_t)ETH.gatewayIP();
|
||||
Settings.ip_address[2] = (uint32_t)ETH.subnetMask();
|
||||
Settings.ip_address[3] = (uint32_t)ETH.dnsIP();
|
||||
global_state.eth_down = 0;
|
||||
break;
|
||||
case SYSTEM_EVENT_ETH_DISCONNECTED:
|
||||
|
|
Loading…
Reference in New Issue