Files
sing-box-extended-mirror/transport/openvpn/device_stack_stub.go
T
2026-08-30 17:41:43 +08:00

14 lines
386 B
Go

//go:build !with_gvisor
package openvpn
import E "github.com/sagernet/sing/common/exceptions"
func newStackDevice(options DeviceOptions) (Device, error) {
return nil, E.New("OpenVPN system:false requires the with_gvisor build tag")
}
func newSystemStackDevice(options DeviceOptions) (Device, error) {
return nil, E.New("OpenVPN system stack requires the with_gvisor build tag")
}