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-android/cmd/tailscale
Denton Gentry 7dedc91a80 ui: show IPv6 address if there's no IPv4 address
There are several situations where a peer may only have IPv6:
+ it was authorized using an ephemeral node key
  https://tailscale.com/kb/1111/ephemeral-nodes/
+ the Tailnet has IPv4 disabled
  https://twitter.com/bradfitz/status/1398380415124082690

So:
+ if a peer has an IPv4 address, display that.
+ if a peer does not have an IPv4 address, display IPv6.
+ If a peer does not have either IPv4 or IPv6 then leave
  the address blank. Not sure how this could happen.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
3 years ago
..
backend.go Update to Tailscale 1.10. 3 years ago
callbacks.go cmd/tailscale: simplify non-blocking coalescing channels 4 years ago
google.png
main.go cmd/tailscale: use go:embed directives for image files 3 years ago
multitun.go Update to Tailscale 1.10. 3 years ago
pprof.go
store.go jni,cmd/tailscale: replace jni.EnvFor with explicit conversion 4 years ago
tailscale.png
tools.go cmd/tailscale: use go:embed directives for image files 3 years ago
ui.go ui: show IPv6 address if there's no IPv4 address 3 years ago