mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
minor fix for host emulation (#6046)
This commit is contained in:
parent
66c84ec514
commit
e071033c3c
@ -331,7 +331,7 @@ bool ESP8266WiFiSTAClass::config(IPAddress local_ip, IPAddress arg1, IPAddress a
|
||||
dns_setserver(1, dns2);
|
||||
}
|
||||
|
||||
#if LWIP_VERSION_MAJOR != 1
|
||||
#if LWIP_VERSION_MAJOR != 1 && !CORE_MOCK
|
||||
// trigger address change by calling lwIP-v1.4 api
|
||||
// (see explanation above)
|
||||
netif_set_addr(eagle_lwip_getif(STATION_IF), &info.ip, &info.netmask, &info.gw);
|
||||
|
Loading…
x
Reference in New Issue
Block a user