2022-09-15 12:20:38 +08:00
|
|
|
//go:build !with_gvisor
|
2022-09-06 00:15:09 +08:00
|
|
|
|
|
|
|
|
package wireguard
|
|
|
|
|
|
2022-09-09 19:37:24 +08:00
|
|
|
import (
|
|
|
|
|
"net/netip"
|
|
|
|
|
|
|
|
|
|
"github.com/sagernet/sing-tun"
|
|
|
|
|
)
|
2022-09-06 00:15:09 +08:00
|
|
|
|
|
|
|
|
func NewStackDevice(localAddresses []netip.Prefix, mtu uint32) (Device, error) {
|
|
|
|
|
return nil, tun.ErrGVisorNotIncluded
|
|
|
|
|
}
|