mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-14 06:57:31 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user