mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 06:52:40 +00:00
fix(core): adjustments for IPv6
This commit is contained in:
1 parent
2f9f610210
commit
edd64a396e
6 files changed
+127
-11
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user