fix(core): adjustments for IPv6

This commit is contained in:
Nicolas Höft authored and GitHub committed 2022-07-06 08:49:48 -04:00
1 parent 2f9f610210
commit edd64a396e
6 files changed
+127 -11

No files matched your search

+1 -2
View File
@@ -31,8 +31,7 @@
- (void) test_isLocalhost
{
// @"localhost6",
NSString *addrStr[] = { @"127.0.0.1", @"127.1.2.3", @"localhost", @"something.localhost", @"localhost.", nil };
NSString *addrStr[] = { @"127.0.0.1", @"127.1.2.3", @"localhost", @"something.localhost", @"localhost.", @"::1", nil };
NSString **curHost;
BOOL is_localhost;
NSString *error;