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/net
Brad Fitzpatrick e78ac523da net/interfaces: fix default route lookup on Windows
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>
(cherry picked from commit 3606e68721)
4 years ago
..
dns net/dns: resolveConfExists reading the wrong error 4 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 5 years ago
dnsfallback all: gofmt with Go 1.17 5 years ago
flowtrack net/packet, wgengine/filter: support SCTP 5 years ago
interfaces net/interfaces: fix default route lookup on Windows 4 years ago
netcheck net/{interfaces,netcheck}: rename some fields, funcs 5 years ago
netns all: gofmt with Go 1.17 5 years ago
netstat all: gofmt with Go 1.17 5 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 5 years ago
packet net/packet: use netaddr AppendTo methods 5 years ago
portmapper net/portmapper: fix "running a test" condition. 4 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 5 years ago
speedtest Implemented Commandline Download Speedtest (#2064) 5 years ago
stun all: gofmt with Go 1.17 5 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 6 years ago
tsaddr net/tsaddr: remove IsULA, replace with netaddr.IP.IsPrivate 5 years ago
tshttpproxy all: gofmt with Go 1.17 5 years ago
tstun net/tstun: fix build on arm 4 years ago