sing-box/inbound/tun_stub.go

17 lines
391 B
Go
Raw Normal View History

2022-07-19 23:12:40 +00:00
//go:build !(linux || windows) || no_gvisor
2022-07-17 03:16:13 +00:00
package inbound
import (
"context"
"os"
"github.com/sagernet/sing-box/adapter"
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
)
func NewTun(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.TunInboundOptions) (adapter.Inbound, error) {
return nil, os.ErrInvalid
}