Update dependencies

- Sync with sing upstream
This commit is contained in:
yuhan6665 2022-08-27 22:40:55 -04:00
parent 2096821c07
commit 71a9a6dd55
5 changed files with 54 additions and 69 deletions

View file

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