mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-05-31 00:00:10 +08:00
Fix
This commit is contained in:
@@ -169,8 +169,7 @@ NSString* GCDWebServerGetPrimaryIPv4Address() {
|
|||||||
CFRelease(store);
|
CFRelease(store);
|
||||||
}
|
}
|
||||||
if (primaryInterface == NULL) {
|
if (primaryInterface == NULL) {
|
||||||
DNOT_REACHED();
|
primaryInterface = "lo0";
|
||||||
return nil;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
struct ifaddrs* list;
|
struct ifaddrs* list;
|
||||||
|
|||||||
Reference in New Issue
Block a user