water/syscalls_other.go
Matthew Ellison 70591d2499
Simplifies Platform Specific Interface Creation
The interface `Config` object is now passed directly into each creation
function in order to more easily use additional options.

In addition, the linux and darwin parameters were split to better
capture different options for each platform.
2017-05-23 09:06:42 -04:00

13 lines
336 B
Go

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