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>file-share
parent
594ed6b7bc
commit
7dedc91a80
Loading…
Reference in New Issue