Skip to content

Conversation

@bradfitz
Copy link
Member

It wasn't using the right metric. Apparently you're supposed to sum the route
metric and interface metric. Whoops.

While here, optimize a few little things too, not that this code
should be too hot.

Fixes #2707 (at least; probably dups but I'm failing to find)

@bradfitz bradfitz force-pushed the bradfitz/win_default_route branch from f1f547c to 2a4d5cd Compare August 26, 2021 19:14
It wasn't using the right metric. Apparently you're supposed to sum the route
metric and interface metric. Whoops.

While here, optimize a few little things too, not that this code
should be too hot.

Fixes #2707 (at least; probably dups but I'm failing to find)

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
@bradfitz bradfitz force-pushed the bradfitz/win_default_route branch from 2a4d5cd to 0596f61 Compare August 26, 2021 20:40
@bradfitz bradfitz merged commit 3606e68 into main Aug 26, 2021
@bradfitz bradfitz deleted the bradfitz/win_default_route branch August 26, 2021 20:42
@bradfitz bradfitz restored the bradfitz/win_default_route branch August 26, 2021 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TailScale client fails to launch browser for interactive login

2 participants