mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-08 11:44:13 +08:00
Fix no_gvisor build
This commit is contained in:
parent
8d044232af
commit
78ddd497ee
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user