summaryrefslogtreecommitdiffhomepage
path: root/types/netmap
diff options
context:
space:
mode:
Diffstat (limited to 'types/netmap')
-rw-r--r--types/netmap/netmap.go2
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