Files
sing-box-extended-mirror/transport/wireguard/device_stack_stub.go
T

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
}