diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-08 20:53:05 -0400 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-08 20:53:05 -0400 |
commit | 775fef9ce9ad52c5f01e2eb88c301f6e40e42bd2 (patch) | |
tree | 25dd3dcdf243fa01a024f1b8149506fd560a93f8 /node/Switch.hpp | |
parent | 6eb77da0947377712bf331ba25424dfe0f7a34e0 (diff) | |
download | infinitytier-775fef9ce9ad52c5f01e2eb88c301f6e40e42bd2.tar.gz infinitytier-775fef9ce9ad52c5f01e2eb88c301f6e40e42bd2.zip |
Silly multicast propagation fix: exclude upstream sender to never send duplicate multicasts back to where they came from
Diffstat (limited to 'node/Switch.hpp')
-rw-r--r-- | node/Switch.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.hpp b/node/Switch.hpp index ecda4de1..d0fbf02b 100644 --- a/node/Switch.hpp +++ b/node/Switch.hpp @@ -171,7 +171,7 @@ private: static void _CBaddPeerFromHello(void *arg,const SharedPtr<Peer> &p,Topology::PeerVerifyResult result); static void _CBaddPeerFromWhois(void *arg,const SharedPtr<Peer> &p,Topology::PeerVerifyResult result); // arg == this - void _propagateMulticast(const SharedPtr<Network> &network,unsigned char *bloom,const MulticastGroup &mg,unsigned int mcHops,unsigned int mcLoadFactor,const MAC &from,unsigned int etherType,const void *data,unsigned int len); + void _propagateMulticast(const SharedPtr<Network> &network,const Address &upstream,unsigned char *bloom,const MulticastGroup &mg,unsigned int mcHops,unsigned int mcLoadFactor,const MAC &from,unsigned int etherType,const void *data,unsigned int len); PacketServiceAttemptResult _tryHandleRemotePacket(Demarc::Port localPort,const InetAddress &fromAddr,Packet &packet); void _doHELLO(Demarc::Port localPort,const InetAddress &fromAddr,Packet &packet); void _requestWhois(const Address &addr); |