summaryrefslogtreecommitdiff
path: root/node/Topology.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Topology.hpp')
-rw-r--r--node/Topology.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/Topology.hpp b/node/Topology.hpp
index 39367d6e..37615b49 100644
--- a/node/Topology.hpp
+++ b/node/Topology.hpp
@@ -148,6 +148,12 @@ public:
bool isUpstream(const Identity &id) const;
/**
+ * @param addr Address to check
+ * @return True if we should accept a world update from this address
+ */
+ bool shouldAcceptWorldUpdateFrom(const Address &addr) const;
+
+ /**
* @param ztaddr ZeroTier address
* @return Peer role for this device
*/