mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-11-03 02:53:20 +08:00
Add DefaultInterfaceMonitor.MyInterface
This commit is contained in:
@@ -82,6 +82,7 @@ func New(options Options) (Tun, error) {
|
||||
}
|
||||
|
||||
func (t *NativeTun) Start() error {
|
||||
t.options.InterfaceMonitor.RegisterMyInterface(t.options.Name)
|
||||
return t.setRoutes()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user