mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-27 11:01:28 +00:00
14 lines
239 B
Go
14 lines
239 B
Go
//go:build !with_gvisor
|
|
|
|
package wireguard
|
|
|
|
import (
|
|
"net/netip"
|
|
|
|
"github.com/sagernet/sing-tun"
|
|
)
|
|
|
|
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32, ipRewrite bool) (Device, error) {
|
|
return nil, tun.ErrGVisorNotIncluded
|
|
}
|