summaryrefslogtreecommitdiff
path: root/node/Multicaster.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-12 17:21:23 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-12 17:21:23 -0400
commita0048785465eb14356c1cb185c271c223862491c (patch)
tree1418813877ce8eef45799125ebcd2029158a142a /node/Multicaster.hpp
parent086050686f4a6759884178e8c8c464ff9db727e0 (diff)
downloadinfinitytier-a0048785465eb14356c1cb185c271c223862491c.tar.gz
infinitytier-a0048785465eb14356c1cb185c271c223862491c.zip
Update bloom filter for MULTICAST_FRAME retransmit, and temporarily add abort() to catch gremlin
Diffstat (limited to 'node/Multicaster.hpp')
-rw-r--r--node/Multicaster.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp
index d9d12607..9a7000af 100644
--- a/node/Multicaster.hpp
+++ b/node/Multicaster.hpp
@@ -287,12 +287,11 @@ public:
}
// Add a supernode if there's nowhere else to go. Supernodes know of all multicast
- // LIKEs and so can act to bridge sparse multicast groups. We do not remember them
- // in the bloom filter.
+ // LIKEs and so can act to bridge sparse multicast groups.
if (!picked) {
Address avoid[2];
avoid[0] = upstream;
- avoid[1] = originalSubmitter;
+ avoid[1] = originalSubmitter; // otherwise supernodes will play ping pong
P peer = topology.getBestSupernode(avoid,2,true);
if (peer)
peers[picked++] = peer;