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
Josh Bleecher Snyder 773af7292b wgengine/magicsock: simplify peerMap.upsertEndpoint
We can do the "maybe delete" check unilaterally:
In the case of an insert, both oldDiscoKey
and ep.discoKey will be the zero value.

And since we don't use pi again, we can skip
giving it a name, which makes scoping clearer.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
bench types/netmap: use key.NodePublic instead of tailcfg.NodeKey. 3 years ago
filter all: use testingutil.MinAllocsPerRun 3 years ago
magicsock wgengine/magicsock: simplify peerMap.upsertEndpoint 3 years ago
monitor
netstack cmd/tailscaled, wgengine/netstack: always wire up netstack 3 years ago
router util/multierr: new package 3 years ago
wgcfg go.mod: update wireguard-go to pick up roaming toggle 3 years ago
wglog
winnet
mem_ios.go
pendopen.go tailcfg: use key.NodePublic in wire protocol types. 3 years ago
userspace.go go.mod: update wireguard-go to pick up roaming toggle 3 years ago
userspace_ext_test.go
userspace_test.go tailcfg: use key.NodePublic in wire protocol types. 3 years ago
watchdog.go all: replace tailcfg.DiscoKey with key.DiscoPublic. 3 years ago
watchdog_test.go
wgengine.go all: replace tailcfg.DiscoKey with key.DiscoPublic. 3 years ago