Ignore system bind error

This commit is contained in:
世界 2023-04-20 09:09:11 +08:00
parent 9c6e70b7cc
commit 8bf4113343
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 25 additions and 15 deletions

View file

@ -4,6 +4,7 @@ import (
"context"
"net/netip"
"github.com/sagernet/sing/common/control"
E "github.com/sagernet/sing/common/exceptions"
"github.com/sagernet/sing/common/logger"
)
@ -25,7 +26,8 @@ type StackOptions struct {
Router Router
Handler Handler
Logger logger.Logger
UnderPlatform bool
ForwarderBindInterface bool
InterfaceFinder control.InterfaceFinder
}
func NewStack(