Fix no_gvisor build
This commit is contained in:
@@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
package wireguard
|
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) {
|
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32) (Device, error) {
|
||||||
return nil, tun.ErrGVisorNotIncluded
|
return nil, tun.ErrGVisorNotIncluded
|
||||||
|
|||||||
Reference in New Issue
Block a user