Wake up AWDL on Darwin if awdl0 is an enabled multicast interface

This commit is contained in:
Neil Alexander 2019-03-01 19:26:50 +00:00
parent 58757bb955
commit e99903bf72
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
5 changed files with 41 additions and 5 deletions

View file

@ -5,7 +5,11 @@ package yggdrasil
import "syscall"
import "golang.org/x/sys/windows"
func multicastReuse(network string, address string, c syscall.RawConn) error {
func (m *multicast) multicastWake() {
}
func (m *multicast) multicastReuse(network string, address string, c syscall.RawConn) error {
var control error
var reuseaddr error