mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
Add route.default_interface option
This commit is contained in:
parent
5a3de62c50
commit
377f3f83a2
12 changed files with 45 additions and 23 deletions
|
@ -30,9 +30,10 @@ type Router interface {
|
|||
LookupDefault(ctx context.Context, domain string) ([]netip.Addr, error)
|
||||
|
||||
InterfaceBindManager() control.BindManager
|
||||
DefaultInterface() string
|
||||
AutoDetectInterface() bool
|
||||
DefaultInterfaceName() string
|
||||
DefaultInterfaceIndex() int
|
||||
AutoDetectInterfaceName() string
|
||||
AutoDetectInterfaceIndex() int
|
||||
}
|
||||
|
||||
type Rule interface {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue