add dummy functions for other platforms

This commit is contained in:
Arceliar 2019-10-25 19:32:53 -05:00
parent bcacfb0638
commit 710815fed5
4 changed files with 10 additions and 2 deletions

View file

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