refactor: Modular network manager

This commit is contained in:
世界
2024-11-10 12:11:21 +08:00
parent 3f6ceff3e8
commit 8f1fe484a5
35 changed files with 615 additions and 606 deletions

View File

@@ -124,7 +124,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"))