Fix interface monitor for android

This commit is contained in:
世界
2023-04-18 14:04:09 +08:00
parent be6138b6d1
commit 3627ffc27a
10 changed files with 342 additions and 29 deletions

View File

@@ -32,6 +32,7 @@ type Router interface {
LookupDefault(ctx context.Context, domain string) ([]netip.Addr, error)
InterfaceFinder() control.InterfaceFinder
UpdateInterfaces() error
DefaultInterface() string
AutoDetectInterface() bool
AutoDetectInterfaceFunc() control.Func