check ipV6 fc & fd

This commit is contained in:
proddy
2024-09-17 11:20:51 +02:00
parent 869ba98d6e
commit b3e749b10f

View File

@@ -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());