sing-box/transport/wireguard/device_stack_stub.go

14 lines
292 B
Go
Raw Normal View History

2022-09-15 04:20:38 +00:00
//go:build !with_gvisor
2022-09-05 16:15:09 +00:00
package wireguard
2024-11-21 10:10:41 +00:00
import "github.com/sagernet/sing-tun"
2022-09-09 11:37:24 +00:00
2024-11-21 10:10:41 +00:00
func newStackDevice(options DeviceOptions) (Device, error) {
return nil, tun.ErrGVisorNotIncluded
}
2022-09-05 16:15:09 +00:00
2024-11-21 10:10:41 +00:00
func newSystemStackDevice(options DeviceOptions) (Device, error) {
2022-09-05 16:15:09 +00:00
return nil, tun.ErrGVisorNotIncluded
}