Add auto_route and auto_detect_interface for linux
This commit is contained in:
9
common/iffmonitor/monitor.go
Normal file
9
common/iffmonitor/monitor.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package iffmonitor
|
||||
|
||||
import "github.com/sagernet/sing-box/adapter"
|
||||
|
||||
type InterfaceMonitor interface {
|
||||
adapter.Service
|
||||
DefaultInterfaceName() string
|
||||
DefaultInterfaceIndex() int
|
||||
}
|
||||
Reference in New Issue
Block a user