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.
2020-08-03 10:03:01 -07:00
..
auto.go control/controlclient: remove an 'unexpected' log that no longer is 2020-07-28 15:13:34 -07:00
controlclient_test.go tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux 2020-07-27 21:14:28 -07:00
direct_clone.go ipn: fix netmap change tracking and dns map generation (#609) 2020-07-28 21:47:23 -04:00
direct.go all: dns refactor, add Proxied and PerDomain flags from control (#615) 2020-07-31 16:27:09 -04:00
filter.go Appease the "missing copyright header" check. 2020-04-30 06:15:26 -04:00
hostinfo_linux.go tailcfg, control/controlclient: add GoArch, populate OSVersion on Linux 2020-07-27 21:14:28 -07:00
hostinfo_windows.go control/controlclient: populate OSVersion on Windows 2020-07-27 21:46:07 -07:00
netmap_test.go control/controlclient: print disco keys NetworkMap diffs (debug change only) 2020-08-03 10:03:01 -07:00
netmap.go control/controlclient: print disco keys NetworkMap diffs (debug change only) 2020-08-03 10:03:01 -07:00
persist_test.go ipn: implement Prefs.Equals efficiently. 2020-02-17 15:01:23 -08:00