ipn/ipnlocal: fix usage of slices.Compact

Fixes #10595

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I4e96e9c43b8dedb5f88b03368c01b0e46723e15b
This commit is contained in:
Andrew Dunham 2023-12-14 11:55:34 -05:00
parent 1a08ea5990
commit 3ae562366b

View File

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