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/wgengine/magicsock
Brad Fitzpatrick f054e16451 wgengine/magicsock: delete peerMap.endpointForDiscoKey, remove remaining caller
The one remaining caller of peerMap.endpointForDiscoKey was making the
improper assumption that there's exactly 1 node with a given DiscoKey
in the network. That was the cause of #3088.

Now that all the other callers have been updated to not use
endpointForDiscoKey, there's no need to try to keep maintaining that
prone-to-misuse index.

Updates #3088

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
(cherry picked from commit 695df497ba)
4 years ago
..
debugknobs.go wgengine/magicsock: remove unused debug knob. 4 years ago
debugknobs_ios.go wgengine/magicsock: remove unused debug knob. 4 years ago
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 5 years ago
magicsock.go wgengine/magicsock: delete peerMap.endpointForDiscoKey, remove remaining caller 4 years ago
magicsock_test.go wgengine/magicsock: add new discoInfo type for DiscoKey state, move some fields 4 years ago