sing-box/transport/wireguard/device_stack_stub.go
2022-09-15 12:24:08 +08:00

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
}