feature/conn25: keep addrAssignments through pool reconfig

Fixes tailscale/corp#40250

Signed-off-by: Fran Bull <fran@tailscale.com>
This commit is contained in:
Fran Bull
2026-05-11 14:58:08 -07:00
committed by franbull
parent e4e59a2af0
commit 3a6261b79b
4 changed files with 193 additions and 38 deletions
+4 -4
View File
@@ -707,10 +707,10 @@ func (c *client) reconfig() {
ipSets := c.getIPSets()
c.v4MagicIPPool = newIPPool(ipSets.v4Magic)
c.v4TransitIPPool = newIPPool(ipSets.v4Transit)
c.v6MagicIPPool = newIPPool(ipSets.v6Magic)
c.v6TransitIPPool = newIPPool(ipSets.v6Transit)
c.v4MagicIPPool = c.v4MagicIPPool.reconfig(ipSets.v4Magic)
c.v4TransitIPPool = c.v4TransitIPPool.reconfig(ipSets.v4Transit)
c.v6MagicIPPool = c.v6MagicIPPool.reconfig(ipSets.v6Magic)
c.v6TransitIPPool = c.v6TransitIPPool.reconfig(ipSets.v6Transit)
}
// getAppsForConnectorDomain returns the slice of app names which match the