mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 20:07:40 +03:00
Ignore system bind error
This commit is contained in:
parent
9c6e70b7cc
commit
8bf4113343
2 changed files with 25 additions and 15 deletions
4
stack.go
4
stack.go
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue