tailscale/cmd/tailscale/cli
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>
2021-05-16 14:52:00 -07:00
..
bugreport.go cmd/tailscale, ipn/localapi: add "tailscale bugreport" subcommand 2021-03-31 15:19:51 -07:00
cli_test.go wf: implement windows firewall using inet.af/wf. 2021-05-10 09:57:07 -07:00
cli.go cmd/tailscale/cli: fix running from Xcode 2021-05-04 11:37:02 -07:00
debug.go ipn/localapi, cmd/tailscale: add API to get prefs, CLI debug command to show 2021-04-07 08:28:11 -07:00
down.go ipn/localapi: move EditPrefs to localapi 2021-04-11 16:11:43 -07:00
file.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
ip.go cmd/tailscale/cli: let ip take a peername 2021-04-14 08:13:16 -07:00
logout.go cmd/tailscale: fix command descriptions (#1710) 2021-04-15 18:33:23 -04:00
netcheck.go net/portmapper: add NAT-PMP client, move port mapping service probing 2021-02-23 09:07:38 -08:00
ping.go cmd/tailscale: make ping --until-direct require direct connection to exit 0 2021-05-13 15:07:19 -07:00
status.go ipn/ipnstate: add PeerStatus.TailscaleIPs slice, deprecate TailAddr 2021-04-14 08:12:31 -07:00
up.go all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
version.go cmd/tailscale, ipn/localapi: get daemon version from localapi status 2021-03-18 21:14:10 -07:00
web.css cmd/tailscale/cli: split out web.css file 2021-03-31 10:48:05 -07:00
web.go cmd/tailscale/cli: don't report outdated auth URL to web UI 2021-05-03 11:18:58 -07:00
web.html cmd/tailscale/cli: skip new tab on web login 2021-05-03 11:18:58 -07:00