mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 04:20:33 +00:00
fix(core): adjustments for IPv6
This commit is contained in:
@@ -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