1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-15 00:49:15 -04:00

ipv6 test

This commit is contained in:
Darien Raymond
2017-02-08 00:26:40 +01:00
parent 6bcce77afb
commit 2a486c6b9e
3 changed files with 125 additions and 1 deletions

View File

@@ -16,6 +16,9 @@ var (
// LocalHostDomain is a constant value for localhost domain.
LocalHostDomain = DomainAddress("localhost")
// LocalHostIPv6 is a constant value for localhost IP in IPv6.
LocalHostIPv6 = IPAddress([]byte{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1})
)
type AddressFamily int