Files
tun2socks/pkg/tun/tun_default.go
2020-11-08 21:39:55 +08:00

13 lines
217 B
Go

// +build !darwin,!freebsd,!linux,!openbsd
package tun
import (
"fmt"
"runtime"
)
func CreateTUN(_ string, _ uint32) (Device, error) {
return nil, fmt.Errorf("operation was not supported on %s", runtime.GOOS)
}