router: update system routes for linux

This commit is contained in:
ginuerzh committed 2023-11-30 19:39:37 +08:00
1 parent 8ef341dc88
commit b1390dda1c
8 files changed
+55 -12

No files matched your search

+2 -1
View File
@@ -252,6 +252,8 @@ func (p *chainHop) reload(ctx context.Context) (err error) {
nodes = append(nodes, nl...)
p.options.logger.Debugf("load items %d", len(nodes))
p.mu.Lock()
defer p.mu.Unlock()
@@ -291,7 +293,6 @@ func (p *chainHop) load(ctx context.Context) (nodes []*chain.Node, err error) {
}
}
p.options.logger.Debugf("load items %d", len(nodes))
return
}