mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-25 14:55:38 +08: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
|
|
}
|