summaryrefslogtreecommitdiff
path: root/node/Multicaster.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-11-24 10:37:34 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-11-24 10:37:34 -0800
commit6888c6482cff5330568479899dd011003530ad37 (patch)
tree71144362e20a0aed36b5354c1a4a6edf1ada32bf /node/Multicaster.cpp
parentd772639cc67365cd6a20ccb3b1a0850620494a12 (diff)
downloadinfinitytier-6888c6482cff5330568479899dd011003530ad37.tar.gz
infinitytier-6888c6482cff5330568479899dd011003530ad37.zip
Re-enable legacy multicast distribution -- still too many pre1.0.0 nodes online.
Diffstat (limited to 'node/Multicaster.cpp')
-rw-r--r--node/Multicaster.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/node/Multicaster.cpp b/node/Multicaster.cpp
index 34cbabe6..1e7739e6 100644
--- a/node/Multicaster.cpp
+++ b/node/Multicaster.cpp
@@ -304,7 +304,6 @@ void Multicaster::send(
// supernode. Our supernode then takes care of relaying it down to <1.0.0
// nodes. This code can go away (along with support for P5_MULTICAST_FRAME)
// once there are no more such nodes on the network.
-#if 0
{
SharedPtr<Peer> sn(RR->topology->getBestSupernode());
if (sn) {
@@ -343,7 +342,6 @@ void Multicaster::send(
sn->send(RR,outp.data(),outp.size(),now);
}
}
-#endif
}
void Multicaster::clean(uint64_t now)