Wifi (macOS): disable using of ipconfig on 15.6 too

Ref: #1874
This commit is contained in:
李通洲
2025-08-01 08:54:16 +08:00
parent 78fb55c35c
commit 671b11157e
+3 -3
View File
@@ -11,9 +11,9 @@ static inline double rssiToSignalQuality(int rssi)
static bool queryIpconfig(const char* ifName, FFstrbuf* result)
{
if (@available(macOS 26.0, *))
if (@available(macOS 15.6, *))
{
// ipconfig no longer work in Tahoe
// ipconfig reports <redacted> too
return false;
}
@@ -385,7 +385,7 @@ static const char* detectByCoreWlan(FFlist* result)
const char* ffDetectWifi(FFlist* result)
{
if (@available(macOS 26.0, *))
if (@available(macOS 15.6, *))
{
if (detectByWdutil(result) == NULL)
return NULL;