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:
parent
999e963533
commit
458f6ae7c3
2 changed files with 11 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue