mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 12:27:36 +03:00
refactor: Modular network manager
This commit is contained in:
parent
19fb214226
commit
a1be455202
35 changed files with 612 additions and 603 deletions
|
@ -123,7 +123,7 @@ func (m *platformDefaultInterfaceMonitor) updateDefaultInterface(interfaceName s
|
|||
err = m.updateInterfaces()
|
||||
}
|
||||
if err == nil {
|
||||
err = m.router.UpdateInterfaces()
|
||||
err = m.networkManager.UpdateInterfaces()
|
||||
}
|
||||
if err != nil {
|
||||
m.logger.Error(E.Cause(err, "update interfaces"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue