summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-29 17:11:00 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-29 17:11:00 -0400
commite4c5ad9f43f37f3c5cd9feb1035d3b3091820e43 (patch)
treec5c44341fc0aa527362c89702fc503866416c58a /node/Switch.cpp
parent439e602d5a5712d1b33fb19d558d0e9fdf784703 (diff)
downloadinfinitytier-e4c5ad9f43f37f3c5cd9feb1035d3b3091820e43.tar.gz
infinitytier-e4c5ad9f43f37f3c5cd9feb1035d3b3091820e43.zip
More work on network membership certs, and it builds now. Still in heavy development.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index 1af5e41e..bb10b412 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -386,7 +386,7 @@ void Switch::announceMulticastGroups(const std::map< SharedPtr<Network>,std::set
Packet outp((*p)->address(),_r->identity.address(),Packet::VERB_MULTICAST_LIKE);
for(std::map< SharedPtr<Network>,std::set<MulticastGroup> >::const_iterator nwmgs(allMemberships.begin());nwmgs!=allMemberships.end();++nwmgs) {
- if ((nwmgs->first->open())||(_r->topology->isSupernode((*p)->address()))||(nwmgs->first->isMember((*p)->address()))) {
+ if ((_r->topology->isSupernode((*p)->address()))||(nwmgs->first->isAllowed((*p)->address()))) {
for(std::set<MulticastGroup>::iterator mg(nwmgs->second.begin());mg!=nwmgs->second.end();++mg) {
if ((outp.size() + 18) > ZT_UDP_DEFAULT_PAYLOAD_MTU) {
send(outp,true);