mirror of
				https://github.com/tailscale/tailscale.git
				synced 2025-10-31 13:05:22 +00:00 
			
		
		
		
	tailcfg: add HostinfoView version of TailscaleSSHEnabled
Signed-off-by: Mihai Parparita <mihai@tailscale.com>
This commit is contained in:
		 Mihai Parparita
					Mihai Parparita
				
			
				
					committed by
					
						 Mihai Parparita
						Mihai Parparita
					
				
			
			
				
	
			
			
			 Mihai Parparita
						Mihai Parparita
					
				
			
						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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user