From 1ecf4fa8ad903835e5f3f3374d7befee15adb70e Mon Sep 17 00:00:00 2001 From: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> Date: Mon, 26 Jan 2026 14:06:18 -0500 Subject: [PATCH] add active services to netstack on starts with stored prefs. Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com> --- ipn/ipnlocal/local.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 05d92db19..64ec55a02 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -6251,6 +6251,9 @@ func (b *LocalBackend) setNetMapLocked(nm *netmap.NetworkMap) { b.ipVIPServiceMap = ipsvMap if ns, ok := b.sys.Netstack.GetOK(); ok { ns.UpdateIPServiceMappings(ipsvMap) + // In case the prefs reloaded from Profile Manager but didn't change, + // we still need to load the active VIP services into netstack. + ns.UpdateActiveVIPServices(b.pm.CurrentPrefs().AdvertiseServices().AsSlice()) } }