sing-box/transport/wireguard/device_stack_stub.go
2023-04-08 09:17:12 +08:00

14 lines
239 B
Go

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