ipn/ipnlocal: fix usage of slices.Compact

Fixes #10595

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I4e96e9c43b8dedb5f88b03368c01b0e46723e15b
pull/10608/head
Andrew Dunham 12 months ago
parent 1a08ea5990
commit 3ae562366b

@ -3422,7 +3422,7 @@ func (b *LocalBackend) reconfigAppConnectorLocked(nm *netmap.NetworkMap, prefs i
} }
} }
slices.Sort(domains) slices.Sort(domains)
slices.Compact(domains) domains = slices.Compact(domains)
b.appConnector.UpdateDomains(domains) b.appConnector.UpdateDomains(domains)
} }

Loading…
Cancel
Save