mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-30 21:05:43 -05:00
test case for IPv6 any ip
This commit is contained in:
@@ -84,6 +84,14 @@ func TestAddressProperty(t *testing.T) {
|
||||
String: "[2001:4860:0:2001::68]",
|
||||
},
|
||||
},
|
||||
{
|
||||
Input: ParseAddress("::0"),
|
||||
Output: addrProprty{
|
||||
IP: AnyIPv6.IP(),
|
||||
Family: AddressFamilyIPv6,
|
||||
String: "[::]",
|
||||
},
|
||||
},
|
||||
{
|
||||
Input: ParseAddress("[::ffff:123.151.71.143]"),
|
||||
Output: addrProprty{
|
||||
|
||||
Reference in New Issue
Block a user