ipn/ipnlocal: account for ControlURL when merging profiles

We merge/dedupe profiles based on UserID and NodeID, however we were not accounting for ControlURLs.

Updates #713

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali
2022-11-30 04:16:01 +05:00
committed by Maisem Ali
parent adc302f428
commit 82ad585b5b
3 changed files with 24 additions and 8 deletions
+4
View File
@@ -741,4 +741,8 @@ type LoginProfile struct {
// It is only relevant on Windows where we have a multi-user system.
// It is assigned once at profile creation time and never changes.
LocalUserID WindowsUserID
// ControlURL is the URL of the control server that this profile is logged
// into.
ControlURL string
}