mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-13 04:38:28 +00:00
Only add active bridges to top of MC propagation list if they are alive. Otherwise a dead active bridge might kill multicast for us.
This commit is contained in:
@ -401,11 +401,12 @@ public:
|
||||
* Learn a multicast group that is bridged to our tap device
|
||||
*
|
||||
* @param mg Multicast group
|
||||
* @param now Current time
|
||||
*/
|
||||
inline void learnBridgedMulticastGroup(const MulticastGroup &mg)
|
||||
inline void learnBridgedMulticastGroup(const MulticastGroup &mg,uint64_t now)
|
||||
{
|
||||
Mutex::Lock _l(_lock);
|
||||
_bridgedMulticastGroups[mg] = Utils::now();
|
||||
_bridgedMulticastGroups[mg] = now;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user