diff options
| author | Brad Fitzpatrick <bradfitz@tailscale.com> | 2021-08-26 12:00:18 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@tailscale.com> | 2021-08-26 13:40:47 -0700 |
| commit | 0596f61bd7945ccabd40e2a0161210b123a21568 (patch) | |
| tree | b56abb1e9b3c2de8712447e48fd4804fb85cea3a /cmd | |
| parent | 4aab083cae4530169cc7a35772400edee8d41ac9 (diff) | |
| download | tailscale-bradfitz/win_default_route.tar.xz tailscale-bradfitz/win_default_route.zip | |
net/interfaces: fix default route lookup on Windowsbradfitz/win_default_route
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>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions
