mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 12:36:14 -07:00
Merge pull request #2477 from zerotier/dev-multicast-bridge-fix
Don't count bridges towards multicast limit. Send to all bridges
This commit is contained in:
commit
8753829c1b
1 changed files with 0 additions and 3 deletions
|
@ -247,9 +247,6 @@ void Multicaster::send(void* tPtr, int64_t now, const SharedPtr<Network>& networ
|
|||
for (unsigned int i = 0; i < activeBridgeCount; ++i) {
|
||||
if ((activeBridges[i] != RR->identity.address()) && (activeBridges[i] != origin)) {
|
||||
out.sendOnly(RR, tPtr, activeBridges[i]); // optimization: don't use dedup log if it's a one-pass send
|
||||
if (++count >= limit) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue