mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Make changes based on review comments
This commit is contained in:
parent
57eb6eaeb0
commit
917ca6c1c5
5 changed files with 30 additions and 17 deletions
|
@ -105,7 +105,7 @@ func (l *link) call(uri string, sintf string) error {
|
|||
case "tcp":
|
||||
l.tcp.call(u.Host, nil, sintf)
|
||||
case "socks":
|
||||
l.tcp.call(pathtokens[0], &u.Host, sintf)
|
||||
l.tcp.call(pathtokens[0], u.Host, sintf)
|
||||
default:
|
||||
return errors.New("unknown call scheme: " + u.Scheme)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue