mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 00:21:30 +00:00
Fix no_gvisor build
This commit is contained in:
parent
8d044232af
commit
78ddd497ee
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue