mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
check ipV6 fc & fd
This commit is contained in:
@@ -385,7 +385,7 @@ void NetworkSettingsService::WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info)
|
|||||||
#endif
|
#endif
|
||||||
if (ip6.startsWith("fe80")) {
|
if (ip6.startsWith("fe80")) {
|
||||||
emsesp::EMSESP::logger().info("IPv6 local: %s", ip6.c_str());
|
emsesp::EMSESP::logger().info("IPv6 local: %s", ip6.c_str());
|
||||||
} else if (ip6.startsWith("fd")) {
|
} else if (ip6.startsWith("fd") || ip6.startsWith("fc")) {
|
||||||
emsesp::EMSESP::logger().info("IPv6 ULA: %s", ip6.c_str());
|
emsesp::EMSESP::logger().info("IPv6 ULA: %s", ip6.c_str());
|
||||||
} else {
|
} else {
|
||||||
emsesp::EMSESP::logger().info("IPv6 global: %s", ip6.c_str());
|
emsesp::EMSESP::logger().info("IPv6 global: %s", ip6.c_str());
|
||||||
|
|||||||
Reference in New Issue
Block a user