mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-19 23:24:44 +08:00
13 lines
217 B
Go
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)
|
|
}
|