From c2aac69a9f982954caf519082192bb98173d8484 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 11 Oct 2014 15:49:31 -0700 Subject: Fixes to legacy peer support. --- node/Multicaster.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'node/Multicaster.hpp') 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
getLegacySubscribers(uint64_t nwid,const MulticastGroup &mg) const; + std::vector
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 -- cgit v1.2.3