mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
Fix IPV6 compilation on ESP8266 (#17429)
This commit is contained in:
parent
c908dc289e
commit
5048777e06
@ -407,9 +407,8 @@
|
||||
|
||||
// -- IPv6 support -------------------------------
|
||||
// #define USE_IPV6 // Enable IPv6 support (if the underlying esp-idf is also configured to support it)
|
||||
// Code size increase:
|
||||
// ESP8266: tbd
|
||||
// ESP32: tbd
|
||||
// Code size increase: ESP8266: +34.5kb
|
||||
// Enabled by default on ESP32 and variants
|
||||
|
||||
// -- ESP-NOW -------------------------------------
|
||||
//#define USE_TASMESH // Enable Tasmota Mesh using ESP-NOW (+11k code)
|
||||
|
@ -922,7 +922,9 @@ bool WifiDNSGetIPv6Priority(void) {
|
||||
|
||||
// any change of state requires a dns cache clear
|
||||
if (had_v6prio != v6prio) {
|
||||
dns_clear_cache();
|
||||
#ifdef ESP32
|
||||
dns_clear_cache(); // this function doesn't exist in LWIP used by ESP8266
|
||||
#endif
|
||||
had_v6prio = v6prio;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user