sing-box/transport/wireguard/device_stack_stub.go
2024-11-29 10:55:17 +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
}