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:
Joseph Henry 2025-07-03 10:14:14 -07:00 committed by GitHub
commit 8753829c1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}
}