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