water/syscalls_other.go
2016-12-01 03:30:46 +06:00

13 lines
330 B
Go

// +build !(linux | darwin)
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")
}