net/tsdial: update (*Dialer).SetRoutes() to log the size of the resulting bart.Table

Updates #12027

Signed-off-by: Nick Khyl <nickk@tailscale.com>
This commit is contained in:
Nick Khyl
2025-05-09 10:29:02 -05:00
committed by Nick Khyl
parent a9be049c19
commit cffb809569
2 changed files with 8 additions and 9 deletions

View File

@@ -151,6 +151,7 @@ func (d *Dialer) SetRoutes(routes, localRoutes []netip.Prefix) {
for _, r := range localRoutes {
rt.Insert(r, false)
}
d.logf("tsdial: bart table size: %d", rt.Size())
}
d.routes.Store(rt)