mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-01 01:44:15 +00:00
Update dependencies
- Sync with sing upstream
This commit is contained in:
parent
2096821c07
commit
71a9a6dd55
5 changed files with 54 additions and 69 deletions
|
@ -15,7 +15,7 @@ import (
|
|||
//go:generate go run github.com/xtls/xray-core/common/errors/errorgen
|
||||
|
||||
func toDestination(socksaddr M.Socksaddr, network net.Network) net.Destination {
|
||||
if socksaddr.Family().IsFqdn() {
|
||||
if socksaddr.IsFqdn() {
|
||||
return net.Destination{
|
||||
Network: network,
|
||||
Address: net.DomainAddress(socksaddr.Fqdn),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue