Browse Source

Don't count bridges towards multicast limit. Send to all bridges

pull/4/head
Joseph Henry 9 months ago
parent
commit
c4af2d79c5
No known key found for this signature in database
GPG Key ID: 3C2C8A1EB4269827
  1. 3
      node/Multicaster.cpp

3
node/Multicaster.cpp

@ -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…
Cancel
Save