diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-11 15:49:31 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-11 15:49:31 -0700 |
| commit | c2aac69a9f982954caf519082192bb98173d8484 (patch) | |
| tree | 79c3f0698d658bd8cd73730ec342dc43a48c91e7 /node/Multicaster.hpp | |
| parent | a9c6913f12546977e5284bb6e35fb460d51fe779 (diff) | |
| download | infinitytier-c2aac69a9f982954caf519082192bb98173d8484.tar.gz infinitytier-c2aac69a9f982954caf519082192bb98173d8484.zip | |
Fixes to legacy peer support.
Diffstat (limited to 'node/Multicaster.hpp')
| -rw-r--r-- | node/Multicaster.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/node/Multicaster.hpp b/node/Multicaster.hpp index 74151251..ed9c0d30 100644 --- a/node/Multicaster.hpp +++ b/node/Multicaster.hpp @@ -120,14 +120,12 @@ public: unsigned int gather(const Address &queryingPeer,uint64_t nwid,const MulticastGroup &mg,Packet &appendTo,unsigned int limit) const; /** - * Get known peers with versions <1.0.0 and that are not supernodes - * - * This is legacy peer compatibility code and will be removed later. + * Get subscribers to a multicast group * * @param nwid Network ID * @param mg Multicast group */ - std::vector<Address> getLegacySubscribers(uint64_t nwid,const MulticastGroup &mg) const; + std::vector<Address> getMembers(uint64_t nwid,const MulticastGroup &mg,unsigned int limit) const; /** * Send a multicast @@ -138,7 +136,7 @@ public: * @param nwid Network ID * @param alwaysSendTo Send to these peers first and even if not included in subscriber list * @param mg Multicast group - * @param src Source Ethernet MAC address + * @param src Source Ethernet MAC address or NULL to skip in packet and compute from ZT address (non-bridged mode) * @param etherType Ethernet frame type * @param data Packet data * @param len Length of packet data |
