tailscale/types
Maisem Ali dd50dcd067 ipn/ipnlocal: handle untagging nodes better
We would end up with duplicate profiles for the node as the UserID
would have chnaged. In order to correctly deduplicate profiles, we
need to look at both the UserID and the NodeID. A single machine can
only ever have 1 profile per NodeID and 1 profile per UserID.

Note: UserID of a Node can change when the node is tagged/untagged,
and the NodeID of a device can change when the node is deleted so we
need to check for both.

Updates #713

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-11-18 14:00:19 +05:00
..
dnstype net/dns, types/dnstypes: update some comments, tests for DoH 2022-09-08 17:16:13 -07:00
empty types/empty: add Message, stop using mysterious *struct{} 2020-02-14 13:35:49 -08:00
flagtype types/flagtype: fix bug showing the default port value (shown in --help) 2020-10-19 20:18:31 -07:00
ipproto net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
key all: store NL keys per profile 2022-11-15 19:51:52 +00:00
logger all: remove old +build tags 2022-11-04 07:25:42 -07:00
netlogtype types/netlogtype: add constants for maximum serialized sizes of ConnectionCounts (#6163) 2022-11-09 15:50:07 -08:00
netmap cmd/tailscale: make "up", "status" warn if routes and --accept-routes off 2022-11-11 10:56:50 -08:00
nettype net/netaddr: start migrating to net/netip via new netaddr adapter package 2022-07-25 16:20:43 -07:00
opt all: fix spelling mistakes 2022-09-29 13:36:13 -07:00
persist ipn/ipnlocal: handle untagging nodes better 2022-11-18 14:00:19 +05:00
preftype types/preftype: don't use iota for consts persisted to disk 2021-04-02 09:02:54 -07:00
structs types/structs: add structs.Incomparable annotation, use it where applicable 2020-05-03 14:05:32 -07:00
tkatype client,cmd/tailscale,ipn,tka,types: implement tka initialization flow 2022-08-22 11:35:16 -07:00
views ipn/prefs: add views 2022-10-24 15:57:00 -07:00