Add StackOptions.IncludeAllNetworks

This commit is contained in:
世界 2024-05-07 20:20:44 +08:00
parent e272ff0ad3
commit fb6e917a2c
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 12 additions and 1 deletions

View file

@ -18,6 +18,8 @@ import (
"github.com/sagernet/sing/common/udpnat"
)
var ErrIncludeAllNetworks = E.New("`system` and `mixed` stack are not available when `includeAllNetworks` is enabled. See https://github.com/SagerNet/sing-tun/issues/25")
type System struct {
ctx context.Context
tun Tun