1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-17 10:42:21 +01:00
This commit is contained in:
J. Nick Koston
2025-09-14 09:12:07 -05:00
parent 3a4a01ac51
commit dc8c5a6cb3

View File

@@ -498,7 +498,11 @@ void EthernetComponent::finish_connect_() {
if (err == ESP_OK) {
ESP_LOGD(TAG, "IPv6 link-local address created (retry succeeded)");
}
this->ipv6_setup_done_ = true; // Only try once in CONNECTED state
// Always set the flag to prevent continuous retries
// If IPv6 setup fails here with the interface up and stable, it's likely
// a persistent issue (IPv6 disabled at router, hardware limitation, etc.)
// that won't be resolved by further retries. The device continues to work with IPv4.
this->ipv6_setup_done_ = true;
}
#endif /* USE_NETWORK_IPV6 */
}