mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
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
|
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…
x
Reference in New Issue
Block a user