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
David Anderson ef31dd7bb5 wgengine/magicsock: check all 3 fast paths independently.
The previous code would skip the DERP short-circuit if roamAddr
was set, which is not what we wanted. More generally, hitting
any of the fast path conditions is a direct return, so we can
just have 3 standalone branches rather than 'else if' stuff.

Signed-Off-By: David Anderson <danderson@tailscale.com>
5 years ago
..
derpmap.go wgengine/magicsock: update set of DERP nodes 5 years ago
magicsock.go wgengine/magicsock: check all 3 fast paths independently. 5 years ago
magicsock_test.go magicsock: add some DERP tests 5 years ago