sing-box/transport/wireguard/device_stack_stub.go
2024-11-24 15:19:27 +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
}