sing-box/transport/wireguard/device_stack_stub.go
2024-11-23 13:29:47 +08:00

14 lines
292 B
Go

//go:build !with_gvisor
package wireguard
import "github.com/sagernet/sing-tun"
func newStackDevice(options DeviceOptions) (Device, error) {
return nil, tun.ErrGVisorNotIncluded
}
func newSystemStackDevice(options DeviceOptions) (Device, error) {
return nil, tun.ErrGVisorNotIncluded
}