1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-09 14:09:07 -04: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

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),