diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-28 17:25:34 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-28 17:25:34 -0700 |
commit | 5bb854e504a0db968b47c0a983d0148629e126e7 (patch) | |
tree | dc16e7f9f66fdc00683ad85b3ef126630f9c06be /node/OutboundMulticast.hpp | |
parent | faff84e63a2d58dd110015cfd3d6f5111756cefe (diff) | |
download | infinitytier-5bb854e504a0db968b47c0a983d0148629e126e7.tar.gz infinitytier-5bb854e504a0db968b47c0a983d0148629e126e7.zip |
Fix a nasty bug introduced in packet fragmentation a while back during refactoring, and a few other things related to multicast.
Diffstat (limited to 'node/OutboundMulticast.hpp')
-rw-r--r-- | node/OutboundMulticast.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/OutboundMulticast.hpp b/node/OutboundMulticast.hpp index ab0aae55..f87656eb 100644 --- a/node/OutboundMulticast.hpp +++ b/node/OutboundMulticast.hpp @@ -102,7 +102,7 @@ public: /** * @return True if this outbound multicast has been sent to enough peers */ - inline bool atLimit() const throw() { return (_alreadySentTo.size() > _limit); } + inline bool atLimit() const throw() { return (_alreadySentTo.size() >= _limit); } /** * Just send without checking log |