Fix no_gvisor build

This commit is contained in:
世界
2022-09-09 19:37:24 +08:00
parent 4f761262ee
commit d6506a4062

View File

@@ -2,7 +2,11 @@
package wireguard
import "github.com/sagernet/sing-tun"
import (
"net/netip"
"github.com/sagernet/sing-tun"
)
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32) (Device, error) {
return nil, tun.ErrGVisorNotIncluded