wgengine/magicsock: more logging improvements

* remove endpoint discovery noise when results unchanged
* consistently spell derp nodes as "derp-N"
* replace "127.3.3.40:" with "derp-" in CreateEndpoint log output
* stop early DERP setup before SetPrivateKey is called;
  it just generates log nosie
* fix stringification of peer ShortStrings (it had an old %x on it,
  rendering it garbage)
* describe why derp routes are changing, with one of:
  shared home, their home, our home, alt
This commit is contained in:
Brad Fitzpatrick
2020-03-24 08:09:30 -07:00
parent 64aff0db7b
commit 8454bbbda5
2 changed files with 84 additions and 26 deletions

View File

@@ -7,5 +7,5 @@
// Package version provides the version that the binary was built at.
package version
const LONG = "date.20200317"
const LONG = "date.20200324"
const SHORT = LONG // TODO: unused; remove SHORT? Make it a func?