瀏覽代碼

Re-enable legacy multicast distribution -- still too many pre1.0.0 nodes online.

Adam Ierymenko 11 年之前
父節點
當前提交
6888c6482c
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      node/Multicaster.cpp

+ 0 - 2
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)