diff options
Diffstat (limited to 'types')
| -rw-r--r-- | types/netmap/netmap.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/types/netmap/netmap.go b/types/netmap/netmap.go index c54562f4d..9749dc3fb 100644 --- a/types/netmap/netmap.go +++ b/types/netmap/netmap.go @@ -26,6 +26,8 @@ import ( // The fields should all be considered read-only. They might // alias parts of previous NetworkMap values. type NetworkMap struct { + Cached bool // whether this NetworkMap was loaded from disk cache (as opposed to live from network) + SelfNode tailcfg.NodeView AllCaps set.Set[tailcfg.NodeCapability] // set version of SelfNode.Capabilities + SelfNode.CapMap NodeKey key.NodePublic |
