sing-box/transport/wireguard/device_stack_stub.go
2022-09-09 14:44:18 +08:00

10 lines
201 B
Go

//go:build no_gvisor
package wireguard
import "github.com/sagernet/sing-tun"
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32) (Device, error) {
return nil, tun.ErrGVisorNotIncluded
}