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 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>
3 years ago
..
debugknobs.go wgengine/magicsock: remove unused debug knob. 3 years ago
debugknobs_ios.go wgengine/magicsock: remove unused debug knob. 3 years ago
discopingpurpose_string.go wgengine/magicsock: make discoPingPurpose a stringer 4 years ago
magicsock.go wgengine/magicsock: delete peerMap.endpointForDiscoKey, remove remaining caller 3 years ago
magicsock_test.go wgengine/magicsock: add new discoInfo type for DiscoKey state, move some fields 3 years ago