AWDL support for macOS/iOS

This commit is contained in:
Neil Alexander 2019-01-13 18:08:41 +00:00
parent 4f7e8856b8
commit 4622a85c34
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
6 changed files with 90 additions and 3 deletions

View file

@ -0,0 +1,13 @@
// +build !darwin
package yggdrasil
import (
"syscall"
)
// WARNING: This context is used both by net.Dialer and net.Listen in tcp.go
func (iface *tcpInterface) tcpContext(network, address string, c syscall.RawConn) error {
return nil
}