Bridging pretty much ready to test! Got Switch all wired up. Also fix a latent probably-never-triggered bug in MULTICAST_FRAME handling. GitHub issue #68
This commit is contained in:
parent
5682f0b772
commit
6802da457e
4 changed files with 88 additions and 75 deletions
|
@ -177,7 +177,8 @@ public:
|
|||
* @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)
|
||||
inline bool withinMulticastPropagationPrefix(uint64_t prefix,unsigned int prefixBits) const
|
||||
throw()
|
||||
{
|
||||
return ((_a & (0xffffffffffffffffULL >> (64 - prefixBits))) == prefix);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue