sing-box/transport/wireguard/device_stack_stub.go
2023-03-22 01:36:17 +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
}