You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/control/controlclient
Brad Fitzpatrick 6298018704 control/controlclient: print disco keys NetworkMap diffs (debug change only)
NetworkMap text diffs being empty were currently used to short-circuit
calling magicsock's SetNetworkMap (via Engine.SetNetworkMap), but that
went away in c7582dc2 (0.100.0-230)

Prior to c7582dc2 (notably, in 0.100.0-225 and below, down to
0.100.0), a change in only disco key (as when a node restarts) but
without endpoint changes (as would happen for a client not behind a
NAT with random ports) could result in a "netmap diff: (none)" being
printed, as well as Engine.SetNetworkMap being skipped, leading to
broken discovery endpoints.

c7582dc2 fixed the Engine.SetNetworkMap skippage.

This change fixes the "netmap diff: (none)" print so we'll actually see when a peer
restarts with identical endpoints but a new discovery key.
4 years ago
..
auto.go control/controlclient: remove an 'unexpected' log that no longer is 4 years ago
controlclient_test.go tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux 4 years ago
direct.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 4 years ago
direct_clone.go ipn: fix netmap change tracking and dns map generation (#609) 4 years ago
filter.go Appease the "missing copyright header" check. 5 years ago
hostinfo_linux.go tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux 4 years ago
hostinfo_windows.go control/controlclient: populate OSVersion on Windows 4 years ago
netmap.go control/controlclient: print disco keys NetworkMap diffs (debug change only) 4 years ago
netmap_test.go control/controlclient: print disco keys NetworkMap diffs (debug change only) 4 years ago
persist_test.go ipn: implement Prefs.Equals efficiently. 5 years ago