tailcfg: add HostinfoView version of TailscaleSSHEnabled

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
pull/4823/head
Mihai Parparita 2 years ago committed by Mihai Parparita
parent d8c05fc1b2
commit b788a5ba7e

@ -483,6 +483,8 @@ func (hi *Hostinfo) TailscaleSSHEnabled() bool {
return hi != nil && len(hi.SSH_HostKeys) > 0 return hi != nil && len(hi.SSH_HostKeys) > 0
} }
func (v HostinfoView) TailscaleSSHEnabled() bool { return v.ж.TailscaleSSHEnabled() }
// NetInfo contains information about the host's network state. // NetInfo contains information about the host's network state.
type NetInfo struct { type NetInfo struct {
// MappingVariesByDestIP says whether the host's NAT mappings // MappingVariesByDestIP says whether the host's NAT mappings

Loading…
Cancel
Save