diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-09 09:32:00 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-09-09 09:32:00 -0700 |
| commit | ef8706995786f26df7bcb9f69b2a332419841964 (patch) | |
| tree | d540d09e14a78a7066e6407e176d65f29716f00e /node/Network.hpp | |
| parent | 0d4109a9f1f119e336d73039251ad17c0e2a56f4 (diff) | |
| download | infinitytier-ef8706995786f26df7bcb9f69b2a332419841964.tar.gz infinitytier-ef8706995786f26df7bcb9f69b2a332419841964.zip | |
Fix gating of multicast GATHER replies since these can come from upstream, etc., and fix an issue with sending ECHO to recheck marginal paths.
Diffstat (limited to 'node/Network.hpp')
| -rw-r--r-- | node/Network.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Network.hpp b/node/Network.hpp index e8d6e2a5..d80b13b9 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -258,6 +258,11 @@ public: bool gate(const SharedPtr<Peer> &peer,const Packet::Verb verb,const uint64_t packetId); /** + * Check whether this peer is allowed to provide multicast info for this network + */ + bool gateMulticastGather(const SharedPtr<Peer> &peer,const Packet::Verb verb,const uint64_t packetId); + + /** * @param peer Peer to check * @return True if peer has recently been a valid member of this network */ |
