|
|
@ -145,6 +145,9 @@ type PeerStatus struct {
|
|
|
|
PeerAPIURL []string
|
|
|
|
PeerAPIURL []string
|
|
|
|
Capabilities []string `json:",omitempty"`
|
|
|
|
Capabilities []string `json:",omitempty"`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// SSH_HostKeys are the node's SSH host keys, if known.
|
|
|
|
|
|
|
|
SSH_HostKeys []string `json:"sshHostKeys,omitempty"`
|
|
|
|
|
|
|
|
|
|
|
|
// ShareeNode indicates this node exists in the netmap because
|
|
|
|
// ShareeNode indicates this node exists in the netmap because
|
|
|
|
// it's owned by a shared-to user and that node might connect
|
|
|
|
// it's owned by a shared-to user and that node might connect
|
|
|
|
// to us. These nodes should be hidden by "tailscale status"
|
|
|
|
// to us. These nodes should be hidden by "tailscale status"
|
|
|
@ -284,6 +287,9 @@ func (sb *StatusBuilder) AddPeer(peer key.NodePublic, st *PeerStatus) {
|
|
|
|
if v := st.OS; v != "" {
|
|
|
|
if v := st.OS; v != "" {
|
|
|
|
e.OS = st.OS
|
|
|
|
e.OS = st.OS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if v := st.SSH_HostKeys; v != nil {
|
|
|
|
|
|
|
|
e.SSH_HostKeys = v
|
|
|
|
|
|
|
|
}
|
|
|
|
if v := st.Addrs; v != nil {
|
|
|
|
if v := st.Addrs; v != nil {
|
|
|
|
e.Addrs = v
|
|
|
|
e.Addrs = v
|
|
|
|
}
|
|
|
|
}
|
|
|
|