sing-box/transport/wireguard/device_stack_stub.go
2024-11-22 12:59:00 +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
}