mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Fix IPV6 compilation on ESP8266 (#17429)
This commit is contained in:
parent
c908dc289e
commit
5048777e06
@ -407,9 +407,8 @@
|
|||||||
|
|
||||||
// -- IPv6 support -------------------------------
|
// -- IPv6 support -------------------------------
|
||||||
// #define USE_IPV6 // Enable IPv6 support (if the underlying esp-idf is also configured to support it)
|
// #define USE_IPV6 // Enable IPv6 support (if the underlying esp-idf is also configured to support it)
|
||||||
// Code size increase:
|
// Code size increase: ESP8266: +34.5kb
|
||||||
// ESP8266: tbd
|
// Enabled by default on ESP32 and variants
|
||||||
// ESP32: tbd
|
|
||||||
|
|
||||||
// -- ESP-NOW -------------------------------------
|
// -- ESP-NOW -------------------------------------
|
||||||
//#define USE_TASMESH // Enable Tasmota Mesh using ESP-NOW (+11k code)
|
//#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
|
// any change of state requires a dns cache clear
|
||||||
if (had_v6prio != v6prio) {
|
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;
|
had_v6prio = v6prio;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user