sing-box/transport/wireguard/device_stack_stub.go

14 lines
223 B
Go

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