Adding signatures to multicast frames, work in progress, does not build yet
This commit is contained in:
parent
9f8069434a
commit
bcd079b70e
5 changed files with 194 additions and 85 deletions
|
@ -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)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue