mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-25 23:36:29 +03:00
add dummy functions for other platforms
This commit is contained in:
@@ -299,7 +299,7 @@ func (t *tcp) call(saddr string, options interface{}, sintf string, upgrade *Tcp
|
||||
Timeout: time.Second * 5,
|
||||
}
|
||||
if sintf != "" {
|
||||
dialer.Control = t.getContextWithBindToDevice(sintf)
|
||||
dialer.Control = t.getControl(sintf)
|
||||
ief, err := net.InterfaceByName(sintf)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user