tailscale/wgengine/magicsock
Brad Fitzpatrick 695df497ba 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>
2021-10-15 22:19:27 -07:00
..
debugknobs.go wgengine/magicsock: remove unused debug knob. 2021-09-01 15:13:21 -07:00
debugknobs_ios.go wgengine/magicsock: remove unused debug knob. 2021-09-01 15:13:21 -07:00
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 2020-09-14 14:29:28 -07:00
magicsock.go wgengine/magicsock: delete peerMap.endpointForDiscoKey, remove remaining caller 2021-10-15 22:19:27 -07:00
magicsock_test.go wgengine/magicsock: add new discoInfo type for DiscoKey state, move some fields 2021-10-15 20:48:44 -07:00