Skip to content

Commit 671b111

Browse files
committed
Wifi (macOS): disable using of ipconfig on 15.6 too
Ref: #1874
1 parent 78fb55c commit 671b111

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/detection/wifi/wifi_apple.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ static inline double rssiToSignalQuality(int rssi)
1111

1212
static bool queryIpconfig(const char* ifName, FFstrbuf* result)
1313
{
14-
if (@available(macOS 26.0, *))
14+
if (@available(macOS 15.6, *))
1515
{
16-
// ipconfig no longer work in Tahoe
16+
// ipconfig reports <redacted> too
1717
return false;
1818
}
1919

@@ -385,7 +385,7 @@ static bool getWifiInfoByIpconfig(FFstrbuf* ipconfig, const char* prefix, FFstrb
385385

386386
const char* ffDetectWifi(FFlist* result)
387387
{
388-
if (@available(macOS 26.0, *))
388+
if (@available(macOS 15.6, *))
389389
{
390390
if (detectByWdutil(result) == NULL)
391391
return NULL;

0 commit comments

Comments
 (0)