summaryrefslogtreecommitdiff
path: root/node/OutboundMulticast.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-04 12:35:25 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-04 12:35:25 -0700
commit8a7753cfe3824ad378e779140fdd99f5c2873642 (patch)
tree0fc514a6ab11fdcf9d5a76825918bec25e3beafd /node/OutboundMulticast.hpp
parent331382cf2f3a3da9c5ec6821f9d63d3f3452202a (diff)
downloadinfinitytier-8a7753cfe3824ad378e779140fdd99f5c2873642.tar.gz
infinitytier-8a7753cfe3824ad378e779140fdd99f5c2873642.zip
Filter cleanup, prep for filter integration in a few places.
Diffstat (limited to 'node/OutboundMulticast.hpp')
-rw-r--r--node/OutboundMulticast.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/node/OutboundMulticast.hpp b/node/OutboundMulticast.hpp
index 3818172e..7d1dff80 100644
--- a/node/OutboundMulticast.hpp
+++ b/node/OutboundMulticast.hpp
@@ -56,7 +56,6 @@ public:
* @param RR Runtime environment
* @param timestamp Creation time
* @param nwid Network ID
- * @param com Certificate of membership or NULL if none available
* @param limit Multicast limit for desired number of packets to send
* @param gatherLimit Number to lazily/implicitly gather with this frame or 0 for none
* @param src Source MAC address of frame or NULL to imply compute from sender ZT address
@@ -70,7 +69,6 @@ public:
const RuntimeEnvironment *RR,
uint64_t timestamp,
uint64_t nwid,
- const CertificateOfMembership *com,
unsigned int limit,
unsigned int gatherLimit,
const MAC &src,
@@ -127,17 +125,17 @@ public:
if (std::find(_alreadySentTo.begin(),_alreadySentTo.end(),toAddr) == _alreadySentTo.end()) {
sendAndLog(RR,toAddr);
return true;
- } else return false;
+ } else {
+ return false;
+ }
}
private:
uint64_t _timestamp;
uint64_t _nwid;
unsigned int _limit;
- Packet _packetNoCom;
- Packet _packetWithCom;
+ Packet _packet;
std::vector<Address> _alreadySentTo;
- bool _haveCom;
};
} // namespace ZeroTier