tailcfg: add HostinfoView version of TailscaleSSHEnabled
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
parent
d8c05fc1b2
commit
b788a5ba7e
|
@ -483,6 +483,8 @@ func (hi *Hostinfo) TailscaleSSHEnabled() bool {
|
|||
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.
|
||||
type NetInfo struct {
|
||||
// MappingVariesByDestIP says whether the host's NAT mappings
|
||||
|
|
Loading…
Reference in New Issue