mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
Fix: routing rule not applied for TCP DNS (#1144)
This commit is contained in:
parent
6129f2b5b3
commit
8fed55f69f
@ -82,7 +82,7 @@ func baseTCPNameServer(url *url.URL, prefix string) (*TCPNameServer, error) {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
dest := net.TCPDestination(net.DomainAddress(url.Hostname()), port)
|
||||
dest := net.TCPDestination(net.ParseAddress(url.Hostname()), port)
|
||||
|
||||
s := &TCPNameServer{
|
||||
destination: dest,
|
||||
|
Loading…
Reference in New Issue
Block a user