water/syscalls_other.go
lucus c871518ca0 Add windows support.
To use it on windows, you need a tap driver, or just install OpenVPN.
2017-01-09 17:50:54 +09:00

13 lines
336 B
Go

// +build !linux,!darwin,!windows
package water
import "errors"
func newTAP(ifName string) (ifce *Interface, err error) {
return nil, errors.New("tap interface not implemented on this platform")
}
func newTUN(ifName string) (ifce *Interface, err error) {
return nil, errors.New("tap interface not implemented on this platform")
}