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 3606e68721 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>
3 years ago
..
dns fix: typo spelling grammar 3 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
dnsfallback all: gofmt with Go 1.17 3 years ago
flowtrack fix: typo spelling grammar 3 years ago
interfaces net/interfaces: fix default route lookup on Windows 3 years ago
netcheck fix: typo spelling grammar 3 years ago
netns all: gofmt with Go 1.17 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 3 years ago
packet net/packet: use netaddr AppendTo methods 3 years ago
portmapper net/portmapper: fix "running a test" condition. 3 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 3 years ago
speedtest Implemented Commandline Download Speedtest (#2064) 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 4 years ago
tsaddr net/tsaddr: remove IsULA, replace with netaddr.IP.IsPrivate 3 years ago
tshttpproxy all: gofmt with Go 1.17 3 years ago
tstun net/tstun: fix build on arm 3 years ago