mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Remove obsolete method.
This commit is contained in:
parent
91f02d699e
commit
af1d29cc6f
1 changed files with 0 additions and 17 deletions
|
@ -166,23 +166,6 @@ public:
|
||||||
return _a;
|
return _a;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Test whether this address is within a multicast propagation prefix
|
|
||||||
*
|
|
||||||
* Multicast propagation prefixes are (right-to-left a.k.a. LSB to MSB)
|
|
||||||
* bit pattern prefixes of prefixBits bits that restrict which peers are
|
|
||||||
* visited along a given multicast graph traversal path.
|
|
||||||
*
|
|
||||||
* @param prefix Prefix bit pattern (LSB to MSB)
|
|
||||||
* @param prefixBits Number of bits in prefix bit pattern
|
|
||||||
* @return True if address is within prefix
|
|
||||||
*/
|
|
||||||
inline bool withinMulticastPropagationPrefix(uint64_t prefix,unsigned int prefixBits) const
|
|
||||||
throw()
|
|
||||||
{
|
|
||||||
return ((_a & (0xffffffffffffffffULL >> (64 - prefixBits))) == prefix);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Hexadecimal string
|
* @return Hexadecimal string
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue