From 3ae562366b23fa59d2331a7455f1ceca279ab3a1 Mon Sep 17 00:00:00 2001 From: Andrew Dunham Date: Thu, 14 Dec 2023 11:55:34 -0500 Subject: [PATCH] ipn/ipnlocal: fix usage of slices.Compact Fixes #10595 Signed-off-by: Andrew Dunham Change-Id: I4e96e9c43b8dedb5f88b03368c01b0e46723e15b --- ipn/ipnlocal/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 5cbedad34..2dceede5a 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -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) }