Files
tun2socks/internal/dev/tun/tun.go
xjasonlyu e1e96c8cfb v2
2020-11-05 18:41:15 +08:00

16 lines
256 B
Go

// +build !darwin,!linux
package tun
import (
"fmt"
"io"
"runtime"
"gvisor.dev/gvisor/pkg/tcpip/stack"
)
func Open(_ string) (stack.LinkEndpoint, io.Closer, error) {
return nil, nil, fmt.Errorf("operation was not supported on %s", runtime.GOOS)
}