diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-26 12:36:45 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-06-26 12:36:45 -0700 |
commit | 57c7992c785ab2f69fb2ddffd6f48bfebd96cab8 (patch) | |
tree | a3cf773ae17f9593c4787198bc17d9347ae9fe06 /node/Switch.cpp | |
parent | c287ae4d1d0cb6448e556dda2c5c98eee4898cfe (diff) | |
download | infinitytier-57c7992c785ab2f69fb2ddffd6f48bfebd96cab8.tar.gz infinitytier-57c7992c785ab2f69fb2ddffd6f48bfebd96cab8.zip |
GitHub issue #191 - kill intra-network multicast rate limits (which were not well supported or easily configurable anyway) -- this is really left over from the old collaborative multicast propagation algorithm. New algorithm (in for a while) has been sender-side replication in which sender "pays" all bandwidth, which intrinsically limits multicast.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r-- | node/Switch.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp index af80f5e8..236c1e66 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -145,12 +145,6 @@ void Switch::onLocalEthernet(const SharedPtr<Network> &network,const MAC &from,c if (fromBridged) network->learnBridgedMulticastGroup(mg,RR->node->now()); - // Check multicast/broadcast bandwidth quotas and reject if quota exceeded - if (!network->updateAndCheckMulticastBalance(mg,len)) { - TRACE("%.16llx: didn't multicast %u bytes, quota exceeded for multicast group %s",network->id(),len,mg.toString().c_str()); - return; - } - //TRACE("%.16llx: MULTICAST %s -> %s %s %u",network->id(),from.toString().c_str(),mg.toString().c_str(),etherTypeName(etherType),len); RR->mc->send( |