You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Bleecher Snyder
25df067dd0
all: adapt to opaque netaddr types
This commit is a mishmash of automated edits using gofmt:
gofmt -r 'netaddr.IPPort{IP: a, Port: b} -> netaddr.IPPortFrom(a, b)' -w .
gofmt -r 'netaddr.IPPrefix{IP: a, Port: b} -> netaddr.IPPrefixFrom(a, b)' -w .
gofmt -r 'a.IP.Is4 -> a.IP().Is4' -w .
gofmt -r 'a.IP.As16 -> a.IP().As16' -w .
gofmt -r 'a.IP.Is6 -> a.IP().Is6' -w .
gofmt -r 'a.IP.As4 -> a.IP().As4' -w .
gofmt -r 'a.IP.String -> a.IP().String' -w .
And regexps:
\w*(.*)\.Port = (.*) -> $1 = $1.WithPort($2)
\w*(.*)\.IP = (.*) -> $1 = $1.WithIP($2)
And lots of manual fixups.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
|
5 years ago |
| .. |
|
resolver
|
all: adapt to opaque netaddr types
|
5 years ago |
|
config.go
|
util/dnsname: add FQDN type, use throughout codebase.
|
5 years ago |
|
debian_resolvconf.go
|
net/dns: add GOOS build tags
|
5 years ago |
|
direct.go
|
net/dns: add GOOS build tags
|
5 years ago |
|
flush_windows.go
|
Move DNS flush logic to net/dns.
|
5 years ago |
|
manager.go
|
all: adapt to opaque netaddr types
|
5 years ago |
|
manager_default.go
|
net/dns: return error from NewOSManager, use it to initialize NM.
|
5 years ago |
|
manager_freebsd.go
|
net/dns: fix freebsd DNS manager selection.
|
5 years ago |
|
manager_linux.go
|
net/dns: don't use interfaces.Tailscale to find the tailscale interface index.
|
5 years ago |
|
manager_openbsd.go
|
net/dns: return error from NewOSManager, use it to initialize NM.
|
5 years ago |
|
manager_test.go
|
all: adapt to opaque netaddr types
|
5 years ago |
|
manager_windows.go
|
net/dns: on windows, skip site-local v6 resolvers.
|
5 years ago |
|
nm.go
|
Revert "net/dns: set IPv4 auto mode in NM, so it lets us set DNS."
|
5 years ago |
|
noop.go
|
net/dns: return error from NewOSManager, use it to initialize NM.
|
5 years ago |
|
openresolv.go
|
net/dns: add GOOS build tags
|
5 years ago |
|
osconfig.go
|
net/dns: make debian_resolvconf correctly clear DNS configs.
|
5 years ago |
|
registry_windows.go
|
wgengine/router/dns: move to net/dns.
|
5 years ago |
|
resolvconf-workaround.sh
|
net/dns: also include 'tail' and 'base' files when fixing up resolv.conf.
|
5 years ago |
|
resolvconf.go
|
net/dns: add GOOS build tags
|
5 years ago |
|
resolved.go
|
net/dns: don't use interfaces.Tailscale to find the tailscale interface index.
|
5 years ago |