tailcfg: make Node.Hostinfo a HostinfoView

Signed-off-by: Maisem Ali <[email protected]>
This commit is contained in:
Maisem Ali authored and Maisem Ali committed 2022-02-16 12:55:57 -08:00
1 parent 53998e26a6
commit 72d8672ef7
15 files changed
+72 -42

No files matched your search

+4 -3
View File
@@ -37,9 +37,10 @@ type NetworkMap struct {
MachineKey key.MachinePublic
Peers []*tailcfg.Node // sorted by Node.ID
DNS tailcfg.DNSConfig
Hostinfo tailcfg.Hostinfo
PacketFilter []filter.Match
SSHPolicy *tailcfg.SSHPolicy // or nil, if not enabled/allowed
// TODO(maisem) : replace with View.
Hostinfo tailcfg.Hostinfo
PacketFilter []filter.Match
SSHPolicy *tailcfg.SSHPolicy // or nil, if not enabled/allowed
// CollectServices reports whether this node's Tailnet has
// requested that info about services be included in HostInfo.