wireguard-go/src/daemon_darwin.go
Mathias Hall-Andersen 086d32186a Reviewed and added OSX patch
The patch was provided by:
Naveen Nathan <naveen@lastninja.net>

The following modifications to the patch was made:

- Added copyright notice
- Fixed file descriptor leak in .MTU() method
- Migrated to the new(er) golang.org/x/sys/unix package
- Removed non-functioning Daemonize method
2017-07-19 13:12:25 +02:00

10 lines
108 B
Go

package main
import (
"errors"
)
func Daemonize() error {
return errors.New("Not implemented on OSX")
}