summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index ddb8930f..417688f0 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -113,19 +113,6 @@ public:
}
/**
- * Shortcut to check open(), whether MAC is ZeroTier, then isMember()
- *
- * @param mac MAC address to check
- * @return True if MAC is allowed
- */
- inline bool isAllowed(const MAC &mac) const
- throw()
- {
- Mutex::Lock _l(_lock);
- return ((_open)||((mac.isZeroTier())&&(_members.count(Address(mac)) > 0)));
- }
-
- /**
* @return True if network is open (no membership required)
*/
inline bool open() const