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

+1 -1
View File
@@ -130,6 +130,7 @@ func (bp *localBypass) reload(ctx context.Context) error {
return err
}
patterns := append(bp.options.matchers, v...)
bp.options.logger.Debugf("load items %d", len(patterns))
var addrs []string
var inets []*net.IPNet
@@ -205,7 +206,6 @@ func (bp *localBypass) load(ctx context.Context) (patterns []string, err error)
}
}
bp.options.logger.Debugf("load items %d", len(patterns))
return
}