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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user