mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 06:08:15 +00:00
Adding signatures to multicast frames, work in progress, does not build yet
This commit is contained in:
@ -112,19 +112,6 @@ public:
|
||||
return ((_open)||(_members.count(addr) > 0));
|
||||
}
|
||||
|
||||
/**
|
||||
* 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)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user