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>
2020-03-06 11:10:13 -08:00
..
derpmap.go wgengine/magicsock: update set of DERP nodes 2020-03-05 08:18:55 -08:00
magicsock.go wgengine/magicsock: check all 3 fast paths independently. 2020-03-06 11:10:13 -08:00
magicsock_test.go magicsock: add some DERP tests 2020-03-04 12:40:33 -05:00