1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00

Fix: DoQ local mode compatible with IP destination (#1226)

This commit is contained in:
秋のかえで 2021-08-23 19:46:19 +08:00 committed by GitHub
parent c91f98c60d
commit 4f9415d001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ func NewQUICNameServer(url *url.URL) (*QUICNameServer, error) {
return nil, err
}
}
dest := net.UDPDestination(net.DomainAddress(url.Hostname()), port)
dest := net.UDPDestination(net.ParseAddress(url.Hostname()), port)
s := &QUICNameServer{
ips: make(map[string]*record),